passwd -s

view story

http://www.unix.com – Hi, I've a problem regarding understanding of result of passwd -s command. Code: > passwd -s abc  PS    05/24/12    0  441 I'm not a super user. But i need to write a simple code for checking password expiry and send an email to the team id. Is there any other command or way to achieve this? Requesting help in this regard. ---------- Post updated at 05:49 PM ---------- Previous update was at 05:16 PM ---------- Hi, Got the info about passwd -s output in the above eg. Code: abc=userid; PS=passworded; 05/24/12=date on which passwd was last changed (HowTos)