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

Information

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

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R8_STIG.zip