SV-239073r675027_rule
V-239073
SRG-OS-000004-GPOS-00004
PHTN-67-000001
CAT II
10
At the command line, execute the following commands:
# echo '-w /usr/sbin/useradd -p x -k useradd' >> /etc/audit/rules.d/audit.STIG.rules
# echo '-w /usr/sbin/groupadd -p x -k groupadd' >> /etc/audit/rules.d/audit.STIG.rules
# /sbin/augenrules --load
At the command line, execute the following command:
# auditctl -l | grep -E "(useradd|groupadd)"
Expected result:
-w /usr/sbin/useradd -p x -k useradd
-w /usr/sbin/groupadd -p x -k groupadd
If either "useradd" or "groupadd" are not listed with a permissions filter of at least "x", this is a finding.
V-239073
False
PHTN-67-000001
At the command line, execute the following command:
# auditctl -l | grep -E "(useradd|groupadd)"
Expected result:
-w /usr/sbin/useradd -p x -k useradd
-w /usr/sbin/groupadd -p x -k groupadd
If either "useradd" or "groupadd" are not listed with a permissions filter of at least "x", this is a finding.
M
5323