SV-99355r1_rule
V-88705
SRG-OS-000458-GPOS-00203
VROM-SL-001340
CAT II
10
At a minimum, the audit system should collect administrator actions for all users and "root". Add the following to the "/etc/audit/audit.rules" file:
-w /etc/sudoers -p wa -k sudoers
OR
# /etc/dodscript.sh
To verify that auditing is configured for system administrator actions, run the following command:
# auditctl -l | grep "watch=/etc/sudoers"
The result should return a rule for sudoers, such as:
LIST_RULES: exit,always watch=/etc/sudoers perm=wa key=sudoers
If there is no output, this is a finding.
V-88705
False
VROM-SL-001340
To verify that auditing is configured for system administrator actions, run the following command:
# auditctl -l | grep "watch=/etc/sudoers"
The result should return a rule for sudoers, such as:
LIST_RULES: exit,always watch=/etc/sudoers perm=wa key=sudoers
If there is no output, this is a finding.
M
3461