1832511 Members
5030 Online
110043 Solutions
New Discussion

passwd

 
SOLVED
Go to solution
navin
Super Advisor

passwd

Hello ,
I really need an assistance ..
is there a way i can set root passwd with out going to single user..or with out restarting the box.i have changed the passwd yesterday..it is not working
thanks
Learning ...
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: passwd

Hi Navin:

No, you need to boot into single-user mode if you have "forgotten" the root password.

When changing the root password it is a good practice to have *two* login sessions for 'root' active. Change the password in one session; then log-off and logon with the new password. If you have mangled your keystrokes, you will still have an open, active root session in which to correct your mistake!

Regards!

...JRF...
SKR_1
Trusted Contributor

Re: passwd

Try

/usr/lbin/modprpw -x root

Thanks

SKR
SKR_1
Trusted Contributor

Re: passwd

Try to remsh from another server to this server.
And try to change with passwd command.

Thanks

SKR
Asif Sharif
Honored Contributor

Re: passwd

HI navin,

As James suggested that you need to go into single user mode. no other way to reset the password while you don't have any session opened. Log into MP>CO and check might be console is still logged in. Else you need to go into single user and change the password from there.

Regards,
Asif Sharif
Regards,
Asif Sharif
Tim Nelson
Honored Contributor

Re: passwd

One more trick before you inevitable have to crash the system.

Depending on your config. If you set a password more than 8 chars it might be chopped off.

Try just the first 8 chars.

Food for thought:
When changing passwords, I always leave my origional connection open and test the new password from a new connection.
Suraj K Sankari
Honored Contributor

Re: passwd

Hi,

It is not possible to change the root passwd if you forgot, there is one way if you have any root equivalent user in your system or you have configured rsh and ssh without passwd into your system

Suraj