Status
Not open for further replies.

godsownman

Padawan
Today I was messing with the Linux administrative settings and I really messed them up.

I managed to find out a way to lock the user accounts but I dont know how I also managed to

lock up the root account.

As a result now I am completely and royally stranded with all the main administrative settings held up by the root password.

But I cannot even change the root password as I have LOCKED it up,

I know that I have really messed up .

Can anybody please help me out and help me undo the mess and try to unlock the root account

so that I can again normally work.

Please do help.
 
OP
godsownman

godsownman

Padawan
Ok fine if that is not possible please do tell me how to make another account get the root status.

I think even that feature is held up by the root password.

I am using Red hat 9.0
 

ujjwal

Padawan
See tuxfan's post in this thread -

*www.thinkdigit.com/forum/viewtopic.php?t=15125

If that doesn't work, boot from any live/rescue CD, mount your linux partitions, and edit the file /etc/passwd on your linux partition. Blank out the string after the second colon (it may be marked as x) in the line which starts with root, and save the file.

That is, if the line is like this, initially

Code:
root:x:0:0:root:/root:/bin/bash

Make it

Code:
root::0:0:root:/root:/bin/bash
 

utsavhanda

Broken In
Hi There,

For changing the root passwd ::

Just boot Into init 1 mode from grub screen ( if grub is not locked ) and reset ur root passwd.

Else u can try to boot into linux rescue mode and then mount ur linux parttion and just change ur root passwd .

Hope this helps u out !

Ur's
Utsav Handa
handautsav [at] hotmail.com
 
Status
Not open for further replies.
Top Bottom