Skip to content

AlmaLinux OS 9 must set the umask value to 077 for all local interactive user accounts.

An XCCDF Rule

Description

Setting the most restrictive default permissions ensures that when new accounts are created they do not have unnecessary access. With a UMASK of 077, files will be created with 0600 permissions (owner read/write only) and directories will have 0700 permissions (owner read/write/execute only).

ID
SV-269234r1050116_rule
Version
ALMA-09-017510
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

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 (ISSO), but the user agreement for access to the account must specify that the local interactive user must first log on to their account and then switch the user to the application account with the correct option to gain the account's environment variables.