TOSS 5 must ensure account lockouts persist.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-282362 | SRG-OS-000021-GPOS-00005 | TOSS-05-000308 | SV-282362r1200066_rule | 2026-04-01 | 1 |
Description
Lockouts persisting across reboots ensure that the account is only unlocked by an administrator. If the lockouts did not persist across reboots, an attacker could simply reboot the system to continue brute-force attacks against the accounts on the system.
ℹ️ Check
Verify the "/etc/security/faillock.conf" file is configured use a nondefault faillock directory to ensure contents persist after reboot using the following command:
$ grep 'dir =' /etc/security/faillock.conf
dir = /var/log/faillock
If the "dir" option is not set to a nondefault documented tally log directory, is missing or commented out, this is a finding.
✔️ Fix
Configure TOSS 5 to maintain the contents of the faillock directory after a reboot.
Add or modify the "/etc/security/faillock.conf" file to match the following line:
dir = /var/log/faillock