RHEL-10-500020 - RHEL 10 must log username information when unsuccessful login 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 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

See Also

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