1.24.2012

UNIX: Checking password expiration date /etc/shadow

Here is a script I wrote to check the expiration date of a password based on it's /etc/shadow entry. Truth be told - I jacked the awk statement from the web but it was such a long time ago I forget where. Anyway it will tell you if the password is expired or how many days until the password expires. I don't know what it would do if there was no password again; hmmmm

Google Doc Link

No comments: