Linux Password Expiration Problem
I've had a user that couldn't login and thought the account was locked. From what I can tell, the account was not locked and had not expired yet it behaved as though it was expired and needed to be reset. Resetting the password with passwd resolved the issue. Maybe someone can point me to something I'm missing.
Here are the details:
This is an application account used on 4 systems and the passwords are manually set to match.
cat /etc/passwd shows as expected:
cat /etc/shadow also shows as expected:
faillog only showed a latest value for 1 system. All of them showed 0 failures and 0 maximum.
sudo faillog -u accountname
Username Failures Maximum Latest
accountname 0 0 Mon Dec 29 14:30:03 -0500 2008 on IPaddress
chage showed Aug 31 on 2 systems and May 8 on the other 2:
sudo chage -l accountname
Last Change: Aug 31, 2008
Password Expires: Never
Password Inactive: Never
Account Expires: Never
So from everything I can see here, we have policies in login.defs that were likely applied after the accounts were created or the accounts were changed with chage to override those settings. Everything here seems to indicate that the passwords should never expire or become inactive (Maximum -1, Inactive -1).
Am I reading something wrong or missing some other commands that would help me?