System Administration
Showing results for 
Search instead for 
Do you mean 

doubt in root password change

Super Advisor

doubt in root password change

i missed my current root i cannot able to reset the root password. but through rlogin i loged in this server root. i try to reset root password. but it is asking old root password. how to force change the root password.


installed os is hp-ux 11.23

Acclaimed Contributor

Re: Question on root password change

As long as you aren't using NIS or possibly trusted mode?, you should be able to use /sbin/passwd.

Super Advisor

Re: Question on root password change

pls advice shall i follow the below procedure to change the root password

Re: How to recover root password in Trusted system HP-UX 11i[ New ] Post options
Mark as New



Subscribe to RSS Feed



Email to a Friend

Report Inappropriate Content

‎12-27-2004 03:44 PM

Actually the way to go is to null it out

restart your machine.

If you have a console ctrl-b, login and then use the rs command.

Power switch only if no user can soft boot the machine.

Interupt at the console at the 10 second prompt


Y Interact

hpux -is

You will now boot single user mode.

mount /var
mount /tmp

You may need to use the fill path of the mount command.

vi /tcb/files/auth/r/root




null it out and save it.


Set the root password and remember it this time.


Super Advisor

Re: Question on root password change

pls suggest me any one