Operating System - HP-UX
1748136 Members
3681 Online
108758 Solutions
New Discussion

Re: how to reset root. passwd

 
rajesh73
Super Advisor

how to reset root. passwd

My account is locked account name rajesh. I am unable to login.but we don't have direct root login.how to change the root password.
If any procedure is there to change root password
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: how to reset root. passwd

If you cannot login as root, either directly or with a utility like sudo, then you can't change the password without rebooting the system.

 

You will likely have to reboot the system, come up in single-user mode, mount the VG00 file systems, and then change your password.

 

Be aware that to boot in single-user  mode you will have to have access to the system console via the GSP / MP / iLO or via a serial attached console.

rajesh73
Super Advisor

Re: how to reset root. passwd

could you please share the procedure , how to reset the root password in single user mode 

 

if the procedure is differ truster and non trusted system

Sistematika
Occasional Collector

Re: how to reset root. passwd

to day i changed password with:

 

 

log in to system as single user 

 

u fill fina in a google how to do that  (i am newbie)

 

then when console will be ready it will come with #

 

then type passwd root 

 

and then type to times new passowrd

Milos_Lucic
Advisor

Re: how to reset root. passwd

Process to recover from a lost/forgotten root password

  1. Power off the server
  2. Power on the server
  3. Interupt the boot process during the 10 second interval (display will indicate this on the screen)
  4. bo pri
  5. Answer yes to interact with the ipl
  6. At the prompt “hpux -is” for single user mode
  7. cd /sbin
  8. passwd root  and  follow prompts to put in new password
  9. shutdown -r 0  to reboot to multiuser mode