Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] Recovering root password

Florian Philipp

2008-03-24

Replies:

Author LoginPost Reply

On Mon, 2008-03-24 at 15:39 -0500, Dale wrote:
> Grant wrote:
> > 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?
> >
> > - Grant
> >  
>
> I think you can boot into single user mode and reset it. You have to
> put it on the end of the grub boot line but I can't recall what the
> exact option is. May help you search tho.
>
> You can also boot the CD and chroot in to reset it as well. I'm sure
> that will work just as well.
>
> Dale
>
> :-) :-)

The option is "single" but it won't help because it requests the root
password before it gives you your /bin/bash.

Anyway, if you have sudo-rights, you can simply do "sudo passwd" and it
won't ask you for the old password.

Attachment: signature.asc (zipped)
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.