GEN002560 - The system and user default umask must be 077 - '/etc/*'

Information

The umask controls the default access mode assigned to newly created files. An umask of 077 limits new files to mode 700 or less permissive. Although umask can be represented as a 4-digit number, the first digit representing special access modes is typically ignored or required to be 0. This requirement applies to the globally configured system defaults and the user defaults for each account on the system.

Solution

Edit local and global initialization files that contain 'umask' and change them to use 077 instead of the current value.

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(4), CAT|II, CCI|CCI-000366, Rule-ID|SV-63801r1_rule, STIG-ID|GEN002560, Vuln-ID|V-808

Plugin: Unix

Control ID: 2bdbf50e4064d3f695fa4a42dd45befb5aae7b1429296ed107e24b6a5760b35a