A user account on my CenTOS server has become inaccessible and I'm not sure why.
If I run
chage -l foo I see:
Minimum: 0 Maximum: 0 Warning: 5 Inactive -1 Last Change: July 17, 2012 Password Expires: Never Password Inactive: Never Account Expires: Never
I'm not sure what the -1 means but as far as I can tell based on the other settings, the system shouldn't expired or automatically lock out.
Assuming that's the case, where else can I look to troubleshoot this?
Also, will the symptoms appear the same if the account is automatically locked vs administratively disabled vs just having a changed password?
Update: I checked /var/log/secure and I'm seeing:
Aug 9 07:11:14 foo sshd(pam_unix): account foo has expired (failed to change password) Aug 10 19:12:33 foo sshd(pam_unix): account foo has expired (failed to change password)
Interestingly enough, I'm also noticing entries like:
Aug 13 10:12:00 foo sshd(pam_unix): password for user foo will expire in 0 days
Does this last entry mean that the password will never expire? Or that it will expire today?