RHEL-08-020352 - RHEL 8 must set the umask value to 077 for all local interactive user accounts.

Information

The umask controls the default access mode assigned to newly created files. A umask of 077 limits new files to mode 600 or less permissive. Although umask can be represented as a four-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 local interactive user defaults for each account on the system.

Solution

Remove the umask statement from all local interactive user's initialization files.

If the account is for an application, the requirement for a umask less restrictive than '077' can be documented with the Information System Security Officer, but the user agreement for access to the account must specify that the local interactive user must log on to their account first and then switch the user to the application account with the correct option to gain the account's environment variables.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-230384r1017193_rule, STIG-ID|RHEL-08-020352, Vuln-ID|V-230384

Plugin: Unix

Control ID: 17364773d42cacb191a84e8962b18e947f4c59ccd418d098b8990d1488e6f23b