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

This entry was posted in AIX. Bookmark the permalink.

Leave a Reply

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