Linux-Noob Forums

Full Version: password expirey level
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

To edit the password expirey level edit the /etc/login.def.

 

 

# Password aging controls:

#

# PASS_MAX_DAYS Maximum number of days a password may be used.

# PASS_MIN_DAYS Minimum number of days allowed between password changes.

# PASS_MIN_LEN Minimum acceptable password length.

# PASS_WARN_AGE Number of days warning given before a password expires.

#

PASS_MAX_DAYS 30

PASS_MIN_DAYS 0

PASS_MIN_LEN 5

PASS_WARN_AGE 7