Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    Linux Guru Rubberman's Avatar
    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!

  3. #3
    Just 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...