Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

doubt in root password change

rajesh73
Super Advisor

doubt in root password change

i missed my current root password.so 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

3 REPLIES
Dennis Handly
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.

rajesh73
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

Bookmark

Subscribe

Subscribe to RSS Feed

Highlight

Print

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

bo

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

change:
:u_pwd=YfdfdTmswL7o/.:\

to

:u_pwd=:\

null it out and save it.

passwd

Set the root password and remember it this time.

Done.

Highlighted
rajesh73
Super Advisor

Re: Question on root password change

pls suggest me any one