SV-281100r1165655_rule
V-281100
SRG-OS-000021-GPOS-00005
RHEL-10-500020
CAT II
10
Configure RHEL 10 to log username information when unsuccessful login attempts occur.
Enable the feature using the following command:
$ sudo authselect enable-feature with-faillock
Add/modify the "/etc/security/faillock.conf" file to match the following line:
audit
Verify RHEL 10 "/etc/security/faillock.conf" is configured to log username information when unsuccessful login attempts occur with the following command:
$ sudo grep audit /etc/security/faillock.conf
audit
If the "audit" option is not set, is missing, or is commented out, this is a finding.
V-281100
False
RHEL-10-500020
Verify RHEL 10 "/etc/security/faillock.conf" is configured to log username information when unsuccessful login attempts occur with the following command:
$ sudo grep audit /etc/security/faillock.conf
audit
If the "audit" option is not set, is missing, or is commented out, this is a finding.
M
5733