I Googled around for this before posting here. I was suprised not to find any answer.
Have a user account locked out and I was able to unlock it (passwd -u username) and then force them to change their passwd in 60 days (chage -M 60 username). The user tells me that they still can't get it.
I checked the man page before doing anything with their password and found the command passwd -S
Here is the output
username PS 2014-10-27 1 60 7 -1 (Password set, SHA512 crypt.)
I understand the username
The date is when the passwd was last set
The number 60 is from the chage -M 60 command
I'm not sure what PS is or means. I think the first number 1 is tied to Mimimum number of days between password change and the number 7 is tied to number of days of warning before password expires. The same info from chage -l username, correct?
What is the -1 for?