Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] Recovering root password

Grant

2008-03-24

Replies: Find Java Web Hosting

Author LoginPost Reply
> > I've revived an old Gentoo laptop, but I've forgotten the root
> > password. I remember the password to my user account and I can log in
> > there fine. Can I recover the root password?
>
> On the grub menu, edit the entry of the system you want to boot and on the
> kernel line, add "init=/bin/bash" without the quotes. Boot that modded boot
> instructions sequence. After kernel loads, you'll have a bash. Type: "mount
> -o rw,remount /"
> Then type "passwd", put the new root pwd. Remount the partition read-only:
> "mount -o ro,remount /" and reboot. Done!

Done deal, thanks everyone.

- Grant
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.