Results 1 to 3 of 3
Hi,
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 ...
- 05-17-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 5
users who have never changed their password from /etc/shadow
Hi,
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
- 05-17-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I'm sure there is something to do that, but I haven't been able to find out what it is. The chage command isn't in Solaris by default. Whether or not it would work if you built it from source there is questionable.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-17-2011 #3Just Joined!
- Join Date
- May 2011
- Posts
- 5
i think it's better to calculate last change password from /etc/shadow..there is a field with days since password was changed, i will let you know the solution for solaris


Reply With Quote