SV-99423r1_rule
V-88773
SRG-OS-000480-GPOS-00228
VROM-SL-001510
CAT II
10
To configure the correct UMASK setting run the following command:
# sed -i "/^[^#]*UMASK/ c\UMASK 077" /etc/login.defs
NOTE: Setting "UMASK 077" will break upgrades and other possible functionality within the product. When making upgrades to the system, you will need to revert this UMASK setting to the default for the duration of upgrades and then re-apply.
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 CAT I finding.
V-88773
False
VROM-SL-001510
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 CAT I finding.
M
3461