users who have never changed their password from /etc/sha
I need to create a script that returns a list of the users who have never changed their password from /etc/shadow.
As I know on linux there is a command "chage" used for find last password change. Any idea about solaris command? Thanks. Regards, Catalin |
Hi,
In Solaris the password last change date is the third field of /etc/shadow, and it's expressed in days since 1/1/1970. You can also use the following command to get the age of a user password Code:
passwd -s <username> Hope this will help. |
All times are GMT -5. The time now is 06:50 PM. |