Operating System - HP-UX
1752666 Members
5655 Online
108788 Solutions
New Discussion юеВ

Re: root passwd change file

 
SOLVED
Go to solution
KINGSLEY_1
Regular Advisor

root passwd change file

Dear Sirs,

Kindly show me the file that has the number of times one has changed the root password in HP-UX 11.23

Thank you.

Kingsley
4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: root passwd change file

There is no file that I know of that shows this.
Steven E. Protter
Exalted Contributor

Re: root passwd change file

Shalom,

Trusted system:
/usr/lbin/getprpw -m spwchg root


last -R -100 root


If the system is not trusted, its a little bit harder.

To convert to trusted:
http://h30499.www3.hp.com/t5/System-Administration/Enable-Trusted-Mode-HP-UX/m-p/3264050#M177463

 

Not a great idea as trusted system is obsolete and 11.31 is the last version of the OS that will support trusted.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Patrick Wallek
Honored Contributor

Re: root passwd change file

>>/usr/lbin/getprpw -m spwchg root

This will show WHEN the password was last changed, not the number of times it has been changed.

>>last -R -100 root

This will show when root has logged into the system.

INH
Regular Advisor

Re: root passwd change file

/usr/lbin/getprpw -m spwchg root


view and check /var/adm/syslog/syslog.log
Knowledge is power