Re: Question on root password change (141 Views)
Reply
Super Advisor
rajesh73
Posts: 431
Registered: ‎03-17-2009
Message 1 of 4 (183 Views)

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

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,953
Registered: ‎03-06-2006
Message 2 of 4 (175 Views)

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.

Please use plain text.
Super Advisor
rajesh73
Posts: 431
Registered: ‎03-17-2009
Message 3 of 4 (150 Views)

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.

Please use plain text.
Super Advisor
rajesh73
Posts: 431
Registered: ‎03-17-2009
Message 4 of 4 (141 Views)

Re: Question on root password change

pls suggest me any one

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation