SV-239118r675162_rule
V-239118
SRG-OS-000241-GPOS-00091
PHTN-67-000047
CAT II
10
At the command line, execute the following commands:
# echo '-w /usr/sbin/userdel -p x -k userdel' >> /etc/audit/rules.d/audit.STIG.rules
# echo '-w /usr/sbin/groupdel -p x -k groupdel' >> /etc/audit/rules.d/audit.STIG.rules
# /sbin/augenrules --load
At the command line, execute the following command:
# auditctl -l | grep -E "(userdel|groupdel)"
Expected result:
-w /usr/sbin/userdel -p x -k userdel
-w /usr/sbin/groupdel -p x -k groupdel
If the output does not match the expected result, this is a finding.
V-239118
False
PHTN-67-000047
At the command line, execute the following command:
# auditctl -l | grep -E "(userdel|groupdel)"
Expected result:
-w /usr/sbin/userdel -p x -k userdel
-w /usr/sbin/groupdel -p x -k groupdel
If the output does not match the expected result, this is a finding.
M
5323