Operating System - HP-UX
1825795 Members
2264 Online
109687 Solutions
New Discussion

trusted host base system root password change

 
SOLVED
Go to solution
Richard Wilson_4
New Member

trusted host base system root password change

After the passwd has expired on root account. How do you change the passwd. I am unable to do this because it asks for old passwd and does not like the passwds I give it. I have tried rebooting into single user and still the same problem. anyone know how trusted host base affects roots account and or how to get Trusted host base turned off.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: trusted host base system root password change

If you have root session open, passwd command.

If not, you are in a bit of an issue.

Console login should let you log on even with an expired root account.

Reboot at the console.

Interupt at the 10 second prompt.

bo

Interact Y

hpux -is

cd /tcb/files/auth/r

vi root
# you may need to mount /usr first to use vi

make the line below look like this...
u_pwd=:\

Save the file

boot normally.

Your system has no root password.

Use the passwd command to IMMEDIATELY set a root password.

Even if the root password is expired on a trusted system you should get a shot at changing it.

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
Michael Denney
Valued Contributor
Solution

Re: trusted host base system root password change

If you have a root window, you could also convert back to a non-trusted system..just to change the password, then change back.

To unconvert a Trusted System:

/usr/lbin/tsconvert -r


If you don't have a root window, your choice is pretty limited to doing something in single user mode as Steve suggests.
RAC_1
Honored Contributor

Re: trusted host base system root password change

If the bootpw has been set, then even going to single user mode wont help. Then your only option is boot off the CD, mount / and edit /tcp/auth/files/r/root file.

Anil
There is no substitute to HARDWORK