1834449 Members
2203 Online
110067 Solutions
New Discussion

Account Disabled

 
q tang
Occasional Contributor

Account Disabled

Hi all,Pls. help me!!
I have donw some operation with sam then the "root" user be disabled! When I want to login as "root" user,system info me:"Account is disabled -- see Account Administrator"!
Pls. tell me what kind operation will cause this phenomanon and how can I enable the "root" account now!!

Thanks!!
7 REPLIES 7
Sean OB_1
Honored Contributor

Re: Account Disabled

You will have to boot into single user mode and log in as root.
Steven E. Protter
Exalted Contributor

Re: Account Disabled

Two possible aveneues.

Just so happens, I accidently expired root account on a test box today.

It let me logon as root on the console and correct the problem which was with password aging.

If that won't work, restart the box, interupt the boot when the message gives you 10 seconds to do so.

bo

Hit enter

Interact with the ISL

type hpux -is

Unless you have security really tight you can log on as root and use the passwd command to reset the root password to your liking.

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sridhar Bhaskarla
Honored Contributor

Re: Account Disabled

Hi,

I believe your root account has been locked out. As suggested by Steven, you can login from the console. Hook up a console to your server and login as root. But this will not unlock the account. Once you are in, use the command

#/usr/lbin/modprpw -k root

Then try to login remotely.

If you lost the root password, you have to get it into single user mode provided you have not enabled the "password required on single user mode" feature.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Ian Kidd_1
Trusted Contributor

Re: Account Disabled

as far as I know, the only way to re-enable the root account without bringing the server down to single-user mode is if you have an account that can issue commands with root priviledges. so IF you have something like sudo or a back-door root account, you should be able to use:

/usr/lbin/modprpw -k root

if you don't, then you'll need to go to single-user mode to fix this.

As to what you did in sam, you might have enabled the Trusted sytem capabilities. look at /etc/passwd and see if the encrypted passwords have been replaced with *. If so, you can unconvert in sam ... once root is enabled.
If at first you don't succeed, go to the ITRC
Rajeev  Shukla
Honored Contributor

Re: Account Disabled

Here you have these solutions.
If you have disabled and you still have a root window open (root session)then you can just type
/usr/lbin/modprpw -r root
this will enable the root account.
Or else go to console of this machine or connect webconsole and login as root, it should alow you to login. And then you can run /usr/lbin/modprpw -k root to enable the root account.

If all this doesn't work then only possibility is to reboot the machine in single user mode and enable there

Rajeev
q tang
Occasional Contributor

Re: Account Disabled

Thank U all!
Fred.Wu
Frequent Advisor

Re: Account Disabled

You can get into single user mode and use:
"/etc/tsconvert -r"
to solve this problem.
fred