4.6.2 /etc/security/login.cfg - logindelay

Information

Defines the number of seconds delay between each failed login attempt. This works as a multiplier, so if the parameter is set to 10, after the first failed login it would delay for 10 seconds, after the second failed login 20 seconds etc.

Rationale:

In setting the logindelay attribute, this implements a delay multiplier in-between unsuccessful login attempts.

Solution

In /etc/security/login.cfg, set the default stanza logindelay attribute to 10 or greater:

chsec -f /etc/security/login.cfg -s default -a logindelay=10

This means that a user will have to wait 10 seconds before being able to re-enter their password. During subsequent attempts this delay will increase as a multiplier of (the number of failed login attempts * logindelay)

Default Value:

No limit

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-7b.

Plugin: Unix

Control ID: 80e4d199d832bbc4be67a4832ea18c47d7c537fc3be39221d033047bae78ca1d