SV-209047r603263_rule
V-209047
SRG-OS-000480
OL6-00-000345
CAT III
10
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
Verify the "umask" setting is configured correctly in the "/etc/login.defs" file by running the following command:
# grep -i "umask" /etc/login.defs
All output must show the value of "umask" set to 077, as shown in the below:
# grep -i "umask" /etc/login.defs
UMASK 077
If the above command returns no output, or if the umask is configured incorrectly, this is a finding.
V-209047
False
OL6-00-000345
Verify the "umask" setting is configured correctly in the "/etc/login.defs" file by running the following command:
# grep -i "umask" /etc/login.defs
All output must show the value of "umask" set to 077, as shown in the below:
# grep -i "umask" /etc/login.defs
UMASK 077
If the above command returns no output, or if the umask is configured incorrectly, this is a finding.
M
2928