Understanding output of passwd -S
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 Code:
username PS 2014-10-27 1 60 7 -1 (Password set, SHA512 crypt.) 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? |
You need to work on your google skills. :) This was the first link when googling for "passwd -S"
http://www.unix.com/unix-for-dummies...at-fields.html Quote:
|
Quote:
Thanks, we all search differently. |
All times are GMT -5. The time now is 08:19 PM. |