RHEL-06-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_RHEL_6_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-218075r603264_rule, STIG-ID|RHEL-06-000344, STIG-Legacy|SV-50448, STIG-Legacy|V-38647, Vuln-ID|V-218075

Plugin: Unix

Control ID: 6a4d4a89bca5f27f1415e94bdf95d42525e59fb06973e6b7aafdf2e0f86d9fdc