1.291 RHEL-09-412050

Information

RHEL 9 must enforce a delay of at least four seconds between logon prompts following a failed logon attempt.

GROUP ID: V-258071
RULE ID: SV-258071r991588

Increasing the time between a failed authentication attempt and reprompting to enter credentials helps to slow a single-threaded brute force attack.

Solution

Configure the RHEL 9 to enforce a delay of at least four seconds between logon prompts following a failed console logon attempt.

Modify the "/etc/login.defs" file to set the "FAIL_DELAY" parameter to 4 or greater:

FAIL_DELAY 4

See Also

https://workbench.cisecurity.org/benchmarks/22008