1.298 ALMA-09-037970

Information

Passwords for existing users must have a 60-day maximum password lifetime restriction in /etc/shadow.

GROUP ID: V-269405
RULE ID: SV-269405r1050288

Any password, no matter how complex, can eventually be cracked. Therefore, Passwords must be changed periodically. If the operating system does not limit the lifetime of passwords and force users to change their passwords, there is the risk that the operating system passwords could be compromised.

Solution

Configure noncompliant accounts to enforce a 60-day maximum password lifetime restriction using the following command, substituting in the username:

$ chage -M 60 [user]

See Also

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