OL 9 must log username information when unsuccessful logon attempts occur.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-271841 | SRG-OS-000021-GPOS-00005 | OL09-00-003022 | SV-271841r1092235_rule | 2026-02-17 | 1 |
Description
Without auditing of these events, it may be harder or impossible to identify what an attacker did after an attack.
ℹ️ Check
Verify that OL 9 logs username information when unsuccessful logon attempts occur.
Verify the "/etc/security/faillock.conf" file is configured to log username information when unsuccessful logon attempts occur with the following command:
$ 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 OL 9 to log username information when unsuccessful logon attempts occur.
Add/modify the "/etc/security/faillock.conf" file to match the following line:
audit