Operating System - HP-UX
1832648 Members
3426 Online
110043 Solutions
New Discussion

root accout lock, cannot login thr. console.

 
ankurp
Frequent Advisor

root accout lock, cannot login thr. console.

Hi
Cannot login as root thr. console also.

rgds
ankur
6 REPLIES 6
MarkSyder
Honored Contributor

Re: root accout lock, cannot login thr. console.

Looks like time to go into single user mode and reset the root password.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Arunvijai_4
Honored Contributor

Re: root accout lock, cannot login thr. console.

A similar thread,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=815589

If you have remsh enabled on your server,
#remsh server -n " /usr/lbin/modprpw -k root" or reboot your server in single user mode.
GSP>hpux -is

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Mark Nieuwboer
Esteemed Contributor

Re: root accout lock, cannot login thr. console.

Hi,

If you have openview or tivoli installed you can get a root terminal trough the admin user of that aplication.

grtz. Mark
Hakan Aribas
Valued Contributor

Re: root accout lock, cannot login thr. console.

Hi,

In the single user mode, run the following command in order to unlock root account:

/usr/lbin/modprpw -k root
Morcos
Super Advisor

Re: root accout lock, cannot login thr. console.

Go to single user mode hpux -is and reset the password.

ziad
ankurp
Frequent Advisor

Re: root accout lock, cannot login thr. console.

appreciate such a overwhelming responce from all my friends.
Unfortunately had to reboot the server and log in to single usermode amd chnge passwd.


/usr/lbin/modprpw -k root

/usr/sam/lbin/usermod.sam -F -p "" root


bye.

Rgds
Ankur