SV-215431r508663_rule
V-215431
SRG-OS-000480-GPOS-00228
AIX7-00-003137
CAT II
10
Add the following line to "/etc/security/.profile":
umask 077
Run the following command to set "umask=077" for the default stanza in "/etc/security/user":
# chsec -f /etc/security/user -s default -a umask=077
Check if "/etc/security/.profile" contains the proper "umask" setting by running the following command:
# grep "umask 077" /etc/security/.profile
umask 077
If the above command does not output the "umask 077", this is a finding.
From the command prompt, run the following command to check if "umask=077" for the default stanza in "/etc/security/user":
# lssec -f /etc/security/user -s default -a umask
default umask=077
If the "umask" for the default stanza is not "077", or the "umask" is not set, this is a finding.
V-215431
False
AIX7-00-003137
Check if "/etc/security/.profile" contains the proper "umask" setting by running the following command:
# grep "umask 077" /etc/security/.profile
umask 077
If the above command does not output the "umask 077", this is a finding.
From the command prompt, run the following command to check if "umask=077" for the default stanza in "/etc/security/user":
# lssec -f /etc/security/user -s default -a umask
default umask=077
If the "umask" for the default stanza is not "077", or the "umask" is not set, this is a finding.
M
4012