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