Operating System - HP-UX
1834636 Members
2678 Online
110069 Solutions
New Discussion

Re: How can I recover a root account on a trusted server.

 
SOLVED
Go to solution
Srh03
New Member

How can I recover a root account on a trusted server.

How can I recover a root account on a trusted server where the account had been deactivated due to 3 filed logons?

Thank you
8 REPLIES 8
Dennis Handly
Acclaimed Contributor
Solution

Re: How can I recover a root account on a trusted server.

You'll need to login on the physical console.
Jeeshan
Honored Contributor

Re: How can I recover a root account on a trusted server.

recover root password in single user mode.
a warrior never quits
Steven E. Protter
Exalted Contributor

Re: How can I recover a root account on a trusted server.

Shalom,

Console login fixes this problem.

Also booting to single user mode and running the passwd command

SEP
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
Rasheed Tamton
Honored Contributor

Re: How can I recover a root account on a trusted server.

SKR_1
Trusted Contributor

Re: How can I recover a root account on a trusted server.

Login through MP console, it will automatically enabled when you login through console.

If it not works, then you need to go to single user mode and can change your password there.


Thanks & Regards
jolight
Frequent Advisor

Re: How can I recover a root account on a trusted server.


Hi

Do you have any other way to get the root access
like pbrun?
If have you can edit the /tcb/files/auth/r/root file to make the password null and change it using /sbin/passwd command.
The field to be edited is

:u_pwd=xxxxx:\ make it to :u_pwd=:\


jolight
Frequent Advisor

Re: How can I recover a root account on a trusted server.

One more option try it before the previous option.

/usr/lbin/modprpw -lk root

This will unlock the accout. But these options works only and only if you have any other way to get root access otherwise you have to go for single user mode.


Thanks
Srh03
New Member

Re: How can I recover a root account on a trusted server.

Hi All , who replied thank you very much, managed to login through the console of the machine, once this was done the root acount was automatically reactivated.

Thanks