Hi,
I am doing an audit and thought I knew what I was doing, but reading through the posts I came into doubt.
On Sun Solaris, I want to know when users last changed their passwords. I have the etc/shadow files and there is a nice field showing this. Except that it is disturbing me somewhat that for example the root password is indicated as having been last changed in 1987 on a computer that was installed in 2011? Some users have apparently never changed their passwords, despite that we have password rules in place, in etc/passwd.
Searching the forums here I found 2 threads dealing with password change logging, but the answer seems to be that there is no trace of last password change and that the login process does not write to the shadow file - and then I'm confused to bits! The man page says that last password change is written to shadow. It also indicates if the last login was successful. I am not talking about accounts marked with LK or NP.
Can somebody tell me the "truth" (and nothing but ...)
Thanks
Norgaard