1753379 Members
5447 Online
108792 Solutions
New Discussion юеВ

Re: root password locked

 
Deeos
Regular Advisor

root password locked

hi,

can any one tell me how could i comes such problem where my root password has locked. how can i log in again and resolve the issue!
Deepak
8 REPLIES 8
mogiro
Regular Advisor

Re: root password locked

Bad problem...
You should restart the machine on single user mode, and then copy/paste the root on the /etc/passwd line from another machine where you know its root password. Reboot normally and you should be able to log into as root using the password of the machine you copied the line...
Robert-Jan Goossens
Honored Contributor

Re: root password locked

Hi,

You can use the console to login on the system, then use "modprpw -k root" to unlock the root account.

Regards,
Robert-Jan
Deeos
Regular Advisor

Re: root password locked

Hi,

is there any MP console methods to recover the password?
Deepak
Deeos
Regular Advisor

Re: root password locked

Robert-Jan,


do you have screen shot of such incident so that it will more clarify!
Deepak
Kapil Jha
Honored Contributor

Re: root password locked

screen shot??

you should allow root to login any number of time on console.

so you can login from root and the unlock the passwd with command

#/usr/lbin/modprpw -k root

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Anshumali
Esteemed Contributor

Re: root password locked

No screenshot as its quite simple...

SSH to MP
Type Co for Console
Select your partition
you will be presented with your console login prompt.
Enter the username/pasword and you should be in *If you password is correct*
most importantly, find out why it got locked at first place using getprw root and last/lasb combos, auditing
run modprpw -k root to enable it.
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
Schneider H.-P.
Advisor

Re: root password locked

Hi,

boot in single-user mode. At this time no password is required and you have access only to limited resources among which the possibility to change the root password with the command:
passwd root
at this point you can enter the new password;

greetings
H.-P.
madhuchakkaravarthy
Trusted Contributor

Re: root password locked

hi

boot in to single user mode

if its non trusted sys

1. passwd root
2.Boot the system in to multi user mode.

if its trusted sys
run fsck before mounting
1. mount /usr
2. /usr/lbin/modprpw -k root
3. /usr/sam/lbin/usermod.sam -F -p "" root
4.passwd root
5.Boot the system in to multi user mode



#/usr/lbin/tsconvert -r
#/sbin/passwd root

but make a note

This will expire all other accounts password and /usr/lbin/tsconvert needs to be run again.

regards

MC