HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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