How 2 Know
If you can't Google it, You Can Knowing it.

last update on password

the following commands to get the last update on user password:

as a root run the following command:
#pwdadm -q  user
user:
        lastupdate = 1354793709

from the last output, take the number behind “lastupdate” and run it with the following one:

#perl -le ‘print scalar localtime(shift);’  1354793709
Thu Dec  6 13:35:09 2012

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from How 2 Know

Subscribe now to keep reading and get access to the full archive.

Continue reading