SV-217257r603262_rule
V-217257
SRG-OS-000037-GPOS-00015
SLES-12-020760
CAT II
10
Configure the SUSE operating system to generate an audit record for any all modifications to the "faillog" file occur.
Add or update the following rule to "/etc/audit/rules.d/audit.rules":
-w /var/log/faillog -p wa -k logins
The audit daemon must be restarted for the changes to take effect.
# sudo systemctl restart auditd.service
Verify the SUSE operating system generates an audit record when all modifications to the "faillog" file occur.
Check that the following is being audited by performing the following command to check the file system rules in "/etc/audit/audit.rules":
# sudo grep -i faillog /etc/audit/audit.rules
-w /var/log/faillog -p wa -k logins
If the command does not return a line, or the line is commented out, this is a finding.
V-217257
False
SLES-12-020760
Verify the SUSE operating system generates an audit record when all modifications to the "faillog" file occur.
Check that the following is being audited by performing the following command to check the file system rules in "/etc/audit/audit.rules":
# sudo grep -i faillog /etc/audit/audit.rules
-w /var/log/faillog -p wa -k logins
If the command does not return a line, or the line is commented out, this is a finding.
M
4033