OL6-00-000344 - The system default umask in /etc/profile 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 controlled by '/etc/profile' is set properly, add or correct the 'umask' setting in '/etc/profile' to read as follows:

umask 077

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(4), CAT|III, CCI|CCI-000366, Group-ID|V-50669, Rule-ID|SV-64875r1_rule, STIG-ID|OL6-00-000344, Vuln-ID|V-50669

Plugin: Unix

Control ID: cffde50d44f68ee6468ea3e5491520ed4fadc310b992c5c6803d735a7fe76e29