Results 1 to 4 of 4
Hej in the Forum
I have just installed Gentoo for the first time.
I have installed it on my USB like USB Gentoo 2007.0 install | USB Pen Drive Linux ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-12-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 2
USB GENTOO :: no root password
Hej in the Forum

I have just installed Gentoo for the first time.
I have installed it on my USB like USB Gentoo 2007.0 install | USB Pen Drive Linux shows. This works, but, and there is a but. I have no root password, been trying to look around the net, but most of the help I cut get there seems Tecknobable to me.
Is there a way to set the root password, fx. by editing etc/shadow, how? Ive been looking at http://www.linuxforums.org/forum/lin...-password.html and this seems good, but sinse its my first Linux Im sort of lost, PLZ: HELP!
The @ngel Man
- 09-12-2008 #2
Hi and Welcome !
Boot up in Single User mode ( add single at the end of kernel line in GRUB Menu ) and it will drop you at command line prompt. Execute passwd command and set new root password.
Code:passwd
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-12-2008 #3Just Joined!
- Join Date
- Sep 2008
- Posts
- 2
GRUB Menu wod bee "boot:", So I write "gentoo single"?
Still starts up with the "Welcome : Username" option.
And still asks for current password...
T@M
Ps. It say Authentication token manipulation error.
Pps. USBGentoo is the equivelent to the LiveCDLast edited by T@M; 09-12-2008 at 12:57 PM. Reason: More info given
- 09-12-2008 #4
You can reset password using LiveCD.
Let say, /dev/sda1 is /boot, /dev/sda2 is /.
Boot up from LiveCD, execute this
Code:mkdir /mnt/gentoo mkdir /mnt/gentoo/boot mount /dev/sda2 /mnt/gentoo mount /dev/sda1 /mnt/gentoo/boot mount -t proc none /mnt/gentoo/proc chroot /mnt/gentoo /bin/bash passwd exit
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
