OL6-00-000342 - The system default umask for the bash 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 Bash shell is set properly, add or correct the 'umask' setting in '/etc/bashrc' to read as follows:

umask 077

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-209044r793765_rule, STIG-ID|OL6-00-000342, STIG-Legacy|SV-64913, STIG-Legacy|V-50707, Vuln-ID|V-209044

Plugin: Unix

Control ID: 9b0566e05ef0b8dd534656c09b628268096cf2bb58fc74104baea3ef3daccb34