SV-269154r1050036_rule
V-269154
SRG-OS-000329-GPOS-00128
ALMA-09-008270
CAT II
10
Configure AlmaLinux OS 9 to maintain the contents of the faillock directory after a reboot.
Add/modify the "/etc/security/faillock.conf" file to match the following line:
dir = /var/log/faillock
Verify the "/etc/security/faillock.conf" file is configured to use a nondefault faillock directory to ensure its contents persist after reboot with the following command:
$ grep "dir =" /etc/security/faillock.conf
dir = /var/log/faillock
If the "dir" option is set to the default /var/run/faillock directory, is missing, or is commented out, this is a finding.
V-269154
False
ALMA-09-008270
Verify the "/etc/security/faillock.conf" file is configured to use a nondefault faillock directory to ensure its contents persist after reboot with the following command:
$ grep "dir =" /etc/security/faillock.conf
dir = /var/log/faillock
If the "dir" option is set to the default /var/run/faillock directory, is missing, or is commented out, this is a finding.
M
5664