SV-281198r1166546_rule
V-281198
SRG-OS-000021-GPOS-00005
RHEL-10-600430
CAT II
10
Configure RHEL 10 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 RHEL 10 is configured so that the "/etc/security/faillock.conf" file uses a nondefault "faillock" directory to ensure contents persist after reboot with the following command:
$ sudo grep -w dir /etc/security/faillock.conf
dir = /var/log/faillock
If the "dir" option is not set to a nondefault documented tally log directory, is commented out, or is missing, this is a finding.
V-281198
False
RHEL-10-600430
Verify RHEL 10 is configured so that the "/etc/security/faillock.conf" file uses a nondefault "faillock" directory to ensure contents persist after reboot with the following command:
$ sudo grep -w dir /etc/security/faillock.conf
dir = /var/log/faillock
If the "dir" option is not set to a nondefault documented tally log directory, is commented out, or is missing, this is a finding.
M
5733