SV-100473r1_rule
V-89823
SRG-OS-000458-GPOS-00203
VRAU-SL-001365
CAT II
10
At a minimum, the audit system should collect administrator actions for all users and "root". Add the following to "/etc/audit/audit.rules":
-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-89823
False
VRAU-SL-001365
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
3459