SV-269484r1050367_rule
V-269484
SRG-OS-000477-GPOS-00222
ALMA-09-049080
CAT II
10
Configure AlmaLinux OS 9 to generate audit records for all account creations, modifications, disabling, and termination events that affect "/var/log/faillock".
Add the following to the "/etc/audit/rules.d/audit.rules" file:
-w /var/log/faillock -p wa -k logins
Merge the rules into /etc/audit/audit.rules:
$ augenrules --load
Reboot the server so the changes to take effect.
Verify AlmaLinux OS 9 generates audit records for all account creations, modifications, disabling, and termination events that affect "/var/log/faillock" with the following command:
$ grep /var/log/faillock /etc/audit/audit.rules
-w /var/log/faillock -p wa -k logins
If the command does not return a line, or the line is commented out, this is a finding.
V-269484
False
ALMA-09-049080
Verify AlmaLinux OS 9 generates audit records for all account creations, modifications, disabling, and termination events that affect "/var/log/faillock" with the following command:
$ grep /var/log/faillock /etc/audit/audit.rules
-w /var/log/faillock -p wa -k logins
If the command does not return a line, or the line is commented out, this is a finding.
M
5664