cancel
Showing results for 
Search instead for 
Did you mean: 

root account is disabled

SOLVED
Kathy Hacker
New Member
Solved!

root account is disabled

I disabled the root account by mistyping the password 3 times. How can I get it enabled again.
It is an HP-UX 11 trusted system.
Unix by default
2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: root account is disabled

You should be able to go to the console, or web console, and log in there.

Once you are logged in via the console you can use SAM to reactivate root.

Another thing you can do is set up a restricted SAM for some user, give that user permission to reactivate accounts. Then when this happens again, you can just get that user to go into restricted sam and reactivate your root account.
Michael Tully
Honored Contributor

Re: root account is disabled

Message contains a hyperlink
Try to first login as 'root' from the console. If successful, then

unlock the account, run:
# /usr/lbin/modprpw -k root


If you can't then you will need to boot into single-user mode.
Interrupt the boot sequence and from the ISL prompt:

ISL> hpux -is

Wait for the prompt and change the passwd and unlock the account.

If you use 'sudo' you can get around this this problem.
Invest some time and install it. Here is the link:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.6/

Anyone for a Mutiny ?