Category Archives: Uncategorized

Linux Password policy – /etc/login.defs No change for existing users

To enable the password policy in on my CentOS 7, i edited the /etc/login.defs and make changes following values: 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.

The above… Read More »