forgot root password

Status
Not open for further replies.

kalpik

In Pursuit of "Happyness"
Boot into runlevel 3 and do sudo passwd root. Then just enter the new password.
 

JGuru

Wise Old Owl
After booting if you want to find out in what run-level you are, you can type 'runlevel'
at the Tterminal Window. That gives your current runlevel. You can switch to a
different runlevel by giving the command ' telinit <runlevel>' .In your case 'telinit 3'
at the Terminal Window. This command terminates all the processes and boots again
at the specified runlevel.
 
OP
C

cyberzook

Journeyman
tried these but..

firstly...telinit needs su mode to run
2nd ....."sudo passwd root" needs root password itself to run
 

mehulved

18 Till I Die............
See if this thread works *www.thinkdigit.com/forum/showthread.php?t=19197&highlight=root+password
BTW, please make a search. Lot of threads exist on the same topic.
 

Kniwor

Learner
if u have a bootable CD, then boot, navigate to /etc and open the shadow file, delete the hashes in front of the root and save the file, dont forget to take backup...

this will empty your root password....
 

nitish_mythology

OSS Enthusiast!
I recoved my root password in Ubuntu....
Booted into Ubuntuery Recovery Mode
Then issued a command, i think it was passwd Root
After tht Typed the new one!


Everything is done..............
 
Status
Not open for further replies.
Top Bottom