cancel
Showing results for 
Search instead for 
Did you mean: 

root password changed

rajesh73
Super Advisor

root password changed

when ever i goint to root,we are facing below error -hp-ux11.31 -Untrusted system

 

$su -

Password:

su: Password for root has expired. Choose new password and try again

su: Sorry $

5 REPLIES
Dennis Handly
Acclaimed Contributor

Re: root password changed

You may have to use single user mode to change your root password.

What is root's /etc/password entry?  That will tell when it expired.

Matti_Kurkela
Honored Contributor

Re: root password changed

Try logging in as root from the system console (either locally, or using iLO/MP remote console). Root may be able to login from the console even if the password is expired.

MK
rajesh73
Super Advisor

Re: root password changed

1.please share the procedure when booting single mode how to reset root passwd

 

2.after change the root password , i  want to set root account unexire, because every time we are facing the same problem

 

 

Dennis Handly
Acclaimed Contributor

Re: root password changed

>1. share the procedure when booting single mode how to reset root passwd

>2. after change the root password, I  want to set root account unexpire

 

If you can use vipw(1m) or edit /etc/passwd, just remove the info off of the end of the password field.

It's a comma and 4 chars.

 

bubunis
Occasional Advisor

Re: root password changed

For Un-trusted boxes you can try rebooting the OS and in the Console type "hpux -is" for booting the OS into single user mode. There you can change the root password.

If the root password expired, try loggin into the same with a pre-configured user account who is having sudo rights. After loggin in as a sudo admin, you can change the root password from there...