SV-209046r603263_rule
V-209046
SRG-OS-000480
OL6-00-000344
CAT III
10
To ensure the default umask controlled by "/etc/profile" is set properly, add or correct the "umask" setting in "/etc/profile" to read as follows:
umask 077
Verify the "umask" setting is configured correctly in the "/etc/profile" file by running the following command:
# grep "umask" /etc/profile
All output must show the value of "umask" set to 077, as shown in the below:
# grep "umask" /etc/profile
umask 077
If the above command returns no output, or if the umask is configured incorrectly, this is a finding.
V-209046
False
OL6-00-000344
Verify the "umask" setting is configured correctly in the "/etc/profile" file by running the following command:
# grep "umask" /etc/profile
All output must show the value of "umask" set to 077, as shown in the below:
# grep "umask" /etc/profile
umask 077
If the above command returns no output, or if the umask is configured incorrectly, this is a finding.
M
2928