RHEL-06-000343 - The system default umask for the csh shell must be 077.

Information

The umask value influences the permissions assigned to files when they are created. A misconfigured umask value could result in files with excessive permissions that can be read and/or written to by unauthorized users.

Solution

To ensure the default umask for users of the C shell is set properly, add or correct the 'umask' setting in '/etc/csh.cshrc' to read as follows:

umask 077

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-218074r603264_rule, STIG-ID|RHEL-06-000343, STIG-Legacy|SV-50450, STIG-Legacy|V-38649, Vuln-ID|V-218074

Plugin: Unix

Control ID: 0679afae244a32d5f9d79f6c31d90cd70d7c1bd0b4dbb460c020ccb56d366f4b