STIGUI
V-258070CAT II — Medium severitySV-258070r1045153_rule

RHEL 9 must log username information when unsuccessful logon attempts occur.

Rule version RHEL-09-412045 · STIG v2 · 2026-09-17

Discussion

Without auditing of these events, it may be harder or impossible to identify what an attacker did after an attack.

Check

Verify the "/etc/security/faillock.conf" file is configured to log username information when unsuccessful logon 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.

Fix

Configure RHEL 9 to log username information when unsuccessful logon 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

Identifiers

Group ID
V-258070
Group title
SRG-OS-000021-GPOS-00005
Rule ID
SV-258070r1045153_rule
Check ID
C-61811r1045151_chk
Fix ID
F-61735r1045152_fix