Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

account disabled

Status
Not open for further replies.
Jun 27, 2003
3
US
PLease help somebody
When I try to logon as root in HP-UX (11.00)
I get a mesg " acount disabled , see account admin
Emergency situation . I am new to SA responsiblities.
THnaks in advance

 
Bring the system in single user mode and change the root password. If it does not allow to it then simple vi the /etc/password file and change this
root::0:3::/:/sbin/sh

See that :: means no password.

How to boot in single user mode. Read FAQ.

Patel
 
We run a trusted system and modifing the etc/password file will not work. I would also try logging on as root at the system console.
 
Even is root is disabled, you should be able to log on via the system console. Once logged on, issue this command:

/usr/lbin/modprpw -k root

This will unlock the root account. Of course, if root is disabled due to an expired password, be sure to reset that too once unlocked.

You may also want to consider installing sudo. We have it set up for so that the sysadmins can get a root shell - without logging in as root - for just such emergencies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top