1833845 Members
2320 Online
110063 Solutions
New Discussion

Re: root account locked

 
Abhijit P.
Valued Contributor

root account locked

In one of the forum yesterday I saw a reply saying to do following by aunvijai

#remsh server -n " /usr/lbin/modprpw -k root" or reboot your server in single

Please letme how to do it cause same is the case with me how can I login to the server using remsh it is enabled on my server

Thanks in advance

Regards,
Abhijit
4 REPLIES 4
Fabio Ettore
Honored Contributor

Re: root account locked

Hi,

no, it is not possible. I have tried it on a my system just for a test and you always will get that the root account is locked.
remsh works like all r-commands checking /.rhosts on the system where you try the connection.

The only one possibility is

/usr/lbin/modprpw -k root

I hope that helps you.

Best regards,
Fabio
WISH? IMPROVEMENT!
Rick Garland
Honored Contributor

Re: root account locked

When the root account is locked, the most popular way to unlockit is login via the console.

There are other tricks, most notably using sudo. But this requires configuration BEFORE the account is locked.
Abhijit P.
Valued Contributor

Re: root account locked

Hi thanks all ,

I think I will have to reboot the server I don't have any option to do other than going in a single user mode.Actually Its my production server so I was searching through the options cause I won't get downtime easily.

Anyways thanks a lot for the replies ...

Regards,
Abhijit Panse
Abhijit P.
Valued Contributor

Re: root account locked

I found the solution ...