OL6-00-000345 - The system default umask in /etc/login.defs 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/login.defs' is set properly, add or correct the 'umask' setting in '/etc/login.defs' 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-209047r793768_rule, STIG-ID|OL6-00-000345, STIG-Legacy|SV-64873, STIG-Legacy|V-50667, Vuln-ID|V-209047

Plugin: Unix

Control ID: 3447ff4292e7d91eb27d7421364cc0a2522787647bc45eb10e30f6dda6d92f89