1826086 Members
3293 Online
109690 Solutions
New Discussion

Root password change-LOG

 
Nair1980
Frequent Advisor

Root password change-LOG

Hi

Anybody knows how to get last root password change time (log) on HPUNIX 11.00

The system is untrusted

Thanks in advance
Damu
3 REPLIES 3
Peter Nikitka
Honored Contributor

Re: Root password change-LOG

Hi,

if you do not have password aging enabled for the root account - which is NOT recommended in an untrusted environment IMHO - this fact is not recorded.
The only source would be the modification time of /etc/passwd :
Any (password) change must have been before that date, of course.

MfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Denver Osborn
Honored Contributor

Re: Root password change-LOG

How about "passwd -s"?

-denver
Denver Osborn
Honored Contributor

Re: Root password change-LOG

doh. sorry... no good w/out password aging.