SV-253028r958684_rule
V-253028
SRG-OS-000303-GPOS-00120
TOSS-04-030840
CAT II
10
Configure TOSS to generate audit records for all account creations, modifications, disabling, and termination events that affect "/etc/sudoers".
Add or update the following file system rule to "/etc/audit/rules.d/audit.rules":
-w /etc/sudoers -p wa -k identity
The audit daemon must be restarted for the changes to take effect.
Verify TOSS generates audit records for all account creations, modifications, disabling, and termination events that affect "/etc/sudoers".
Check the auditing rules in "/etc/audit/audit.rules" with the following command:
$ sudo grep /etc/sudoers /etc/audit/audit.rules
-w /etc/sudoers -p wa -k identity
If the command does not return a line, or the line is commented out, this is a finding.
V-253028
False
TOSS-04-030840
Verify TOSS generates audit records for all account creations, modifications, disabling, and termination events that affect "/etc/sudoers".
Check the auditing rules in "/etc/audit/audit.rules" with the following command:
$ sudo grep /etc/sudoers /etc/audit/audit.rules
-w /etc/sudoers -p wa -k identity
If the command does not return a line, or the line is commented out, this is a finding.
M
5469