Operating System - HP-UX
1748144 Members
3408 Online
108758 Solutions
New Discussion

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

rajesh73
Super Advisor

Re: Question on root password change

pls suggest me any one