1836636 Members
1659 Online
110102 Solutions
New Discussion

Re: root login disabled

 
SOLVED
Go to solution
brian_31
Super Advisor

root login disabled

I have the root login disabled on hp-ux 11.11. i see a /tcb on this machine so may be trusted. how would i recover this passwd? single user?

Thanks

brian
7 REPLIES 7
James George_1
Trusted Contributor

Re: root login disabled

Hi

I think, you can still login from the console with the password.

Rgd s/ James
forum is for techies .....heaven is for those who are born again !!
DCE
Honored Contributor

Re: root login disabled


If you have an id with with sudo root authrity, reset the password
/usr/lbin/modprpw -k root to reactivate

If that is not an option, try logging on the console that is attached to the system and issuing the modprpw command

If that does not work, you will have to reboot the system and come up in single user mode.

If you are prompted for a password in single user mode, then you will have to boot from the install/recovery CD, and go in to the recovery utilities to reset the password
Robert Salter
Respected Contributor
Solution

Re: root login disabled

See Bill Hassell's reply in this thread;
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1092202
Time to smoke and joke
Patrick Wallek
Honored Contributor

Re: root login disabled

Even if root becomes disabled, it should ALWAYS be allowed to login via the console. The console can be: direct attached serial console ; LAN console ; web console
Anshumali
Esteemed Contributor

Re: root login disabled

Attach the console and it will ask for the password. You can then choose yours. You should also try to find how/ why it got disables. .. Did someone tried to login breaching the security.....
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Anshumali
Esteemed Contributor

Re: root login disabled

Attach the console and login it will ask for the password. You can then choose yours. You should also try to find how/ why it got disables. .. Did someone tried to login breaching the security.....
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Indrajit_1
Valued Contributor

Re: root login disabled

Hi Brain;

Check if someone has sudo (root) access or power broker root access. if not,

you need boot the machine in single user mode and change the root password. now if it is trusted machine, while chaning the password it would ask for old password.

if you know the root password, then..

#/usr/lbin/modprpw -lk root

#/usr/lbin/getprpw root (check the output)

if you want to reset the root password, login through single user mode and reset the password.

#cd /tcb/files/auth/r
#cp -p root root.bak
#vi root

delete the entry from u_pwd=:xxxxx:

save and come out

reset the root password with passwd command.

**if your root password is disable u can't login through LAN console***

Hope above information will help u to resolve ur issue.

Cheers;
Indrajit Roy

Never Ever Give Up