4.6.1 /etc/security/login.cfg - logintimeout

Information

Defines the number of seconds during which the password must be typed at login.

Rationale:

In setting the logintimeout attribute, a password must be entered within a specified time period.

Solution

In /etc/security/login.cfg, set the usw stanza logintimeout attribute to 30 or less:

chsec -f /etc/security/login.cfg -s usw -a logintimeout=30

This means that a user will have 30 seconds, from prompting, in which to type in their password.

Default Value:

60

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-12

Plugin: Unix

Control ID: 300cb798b35031a6c64ec39235daf0c8c583ca061d4cb13cecdbe5d8d5824e8c