Results 1 to 7 of 7
Anybody how to gain root password in ubuntu version 6.06
bcoz I can't edit my other files with root permissions and I also disable my the sudoers and I also ...
- 01-29-2007 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 20
I lost my root password
Anybody how to gain root password in ubuntu version 6.06
bcoz I can't edit my other files with root permissions and I also disable my the sudoers and I also lock my grub...
plz help me.........
- 01-29-2007 #2
how did you do all that?

boot up from Ubuntu LiveCD, remove lock from menu.lst file.
boot up in single user mode and reset password with 'passwd' command. i am not sure if 'passwd' command will work in this situation, but worth to try.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-29-2007 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 20
first I disable the sudoers second lock my grub then when I use su in the terminal I input my password my password was not accepted I don't know what happened I just type my password correctly....
I did this just this afternoon.......
- 01-29-2007 #4
great ! remove look using LiveCD and enable sudoers in single user mode.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-29-2007 #5Just Joined!
- Join Date
- Aug 2006
- Posts
- 20
what do mean single user mode
can you give me some steps to follow...
- 01-29-2007 #6
in GRUB screen, select Ubuntu title and press 'e'. select 'kernel' line, press 'e' again and add <space> 1 at the end of line. press 'Enter' key and press 'b' to boot up. Ubuntu will boot up in Single User mode.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-30-2007 #7
Alternatively, boot the live CD, mount any partitions that you have in relevent locations. eg: / partition to /mnt/ubuntu /home to /mnt/ubuntu/home
Then run:ThenCode:chroot /mnt/ubuntu
and apply the new password.Code:passwd root
This is one reason to secure your box so that the system CANNOT boot off CD!"I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327


Reply With Quote
