SV-100529r1_rule
V-89879
SRG-OS-000480-GPOS-00228
VRAU-SL-001535
CAT II
10
To configure the correct UMASK setting run the following command:
# sed -i "/^[^#]*UMASK/ c\UMASK 077" /etc/login.defs
Check for the configured "umask" value in "login.defs" with the following command:
# grep UMASK /etc/login.defs
If the default "umask" is not "077", this a finding.
Note: If the default umask is "000" or allows for the creation of world-writable files this becomes a Severity Code I finding.
V-89879
False
VRAU-SL-001535
Check for the configured "umask" value in "login.defs" with the following command:
# grep UMASK /etc/login.defs
If the default "umask" is not "077", this a finding.
Note: If the default umask is "000" or allows for the creation of world-writable files this becomes a Severity Code I finding.
M
3459