Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
lost root password
Name: sunny Date: May 17, 2004 at 22:41:04 Pacific OS: linux CPU/Ram: 256MB
Comment:
some one has changed root password. i dont have any other user in my system except root. how can i boot in a single user mode? the problem is when i boot the system it is going to the login and iam not able to log on as i do not have the root password. so what should i do now. i think u got me.
some one said you should got to lilo prompt. how can i get the lilo commandline and what to do . pls tell me in detail.
Name: Wolfbone Date: May 17, 2004 at 23:40:33 Pacific
Reply:
When you boot do you get a lilo menu? If so then instead of selecting a menu entry or letting it time out, press tab and enter the menu entry name you want followed by '1' or 'S' or 'single':
LILO: linux single
If you don't get a menu, I think you can force interactivity by pressing the alt or shift key.
When it boots in single user mode, it may still insist on the root password. If that is the case you need to go back and do the same as above but with the extra parameter 'init=/bin/bash' instead of 'single' and you may subsequently have to mount the root file system read/write: 'mount -o remount,rw /'
Summary: During boot at the lilo/grub prompt, type: linux init=/bin/bash This will get you into the system wit root access but you may have to remount the filesystem in read/write mode. Alternatively type: lin...
Summary: Please follow the steps below to recover the Root Password. If you have lost the root password, 1) Reboot and get the boot prompt (press Alt as soon as Lilo appears on screen). 2) Then enter li...
Summary: how can i break the root password of rad hat linux 7.0 passwords.i have already typed the following. when the lilo shows "red hat linux 7.0 guiness" i pressed "control+x" then the system went to a pro...