1825945 Members
2857 Online
109690 Solutions
New Discussion

root account lockout

 

root account lockout

The root account is locked.

What are the typical methods to
recover/restore the root account
or re-gain access to root login ?

As a followup, can SAM configured to
allow the use by a non-root user ?

8 REPLIES 8
Alex Lavrov.
Honored Contributor

Re: root account lockout

What do you mean by locked? Forgot the password?

If so, you must boot in single user mode and then change the root password.

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Geoff Wild
Honored Contributor

Re: root account lockout

Usually - boot into single user mode to re-enable root (hpux -is from ISL prompt)

Yes - SAM can be configured for non-root - use sam -r

for more info,
man sam

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.

Re: root account lockout

note thr following:

su -
Password:
Account is disabled - see Account Administrator
su: Sorry
DCE
Honored Contributor

Re: root account lockout

If you have sudo installed on the system, you can issue the command

sudo su - (even though it is locked) and run

modprpw -k root

to unlock the root account.

If you do not have sudo (or another root level account), you will have to boot into single user mode to reactivate the root account.
Rick Garland
Honored Contributor

Re: root account lockout

You have trusted systems?

This usually means that there were 3 unsuccessful login attempts.

login as root on the console and account will be unlocked.

Pat Lieberg
Valued Contributor

Re: root account lockout

The root account can be disabled if your system is in trusted mode. However, you can always login as root at the system console.

You can configure SAM to be accessible by other users. Run sam -r.

Re: root account lockout

Thank you ... all

Re: root account lockout

solutions confirmed