Ubuntu 22.04 LTS must enforce a delay of at least four seconds between logon prompts following a failed logon attempt.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-260550 | UBTU-22-412010 | SV-260550r991588_rule | CCI-000366 | low |
| Description | ||||
| Limiting the number of logon attempts over a certain time interval reduces the chances that an unauthorized user may gain access to an account. | ||||
| STIG | Date | |||
| Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide | 2025-05-16 | |||
Details
Check Text (C-260550r991588_chk)
Verify Ubuntu 22.04 LTS enforces a delay of at least four seconds between logon prompts following a failed logon attempt by using the following command:
$ grep pam_faildelay /etc/pam.d/common-auth
auth required pam_faildelay.so delay=4000000
If "delay" is not set to "4000000" or greater, the line is commented out, or is missing, this is a finding.
Fix Text (F-64187r953462_fix)
Configure Ubuntu 22.04 LTS to enforce a delay of at least four seconds between logon prompts following a failed logon attempt.
Add or modify the following line in the "/etc/pam.d/common-auth" file:
auth required pam_faildelay.so delay=4000000