Group: linux.gentoo.user
From: Florian Philipp
Date: Monday, March 24, 2008 4:00 PM
Subject: Re: [gentoo-user] Recovering root password


--=-x1d92ye25ijJXAhKIpO6
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


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
> > =20
>=20
> I think you can boot into single user mode and reset it. You have to=20
> put it on the end of the grub boot line but I can't recall what the=20
> exact option is. May help you search tho.=20
>=20
> You can also boot the CD and chroot in to reset it as well. I'm sure=20
> that will work just as well.
>=20
> Dale
>=20
> :-) :-)=20

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.

--=-x1d92ye25ijJXAhKIpO6
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQBH6BO/qs4uOUlOuU8RApkxAJwM9drX2Y/AkG4k9cLrSP+32yTG1QCbBV6X
sNiYzQuIJNzdxqlmsZuslfc=
=diHm
-----END PGP SIGNATURE-----

--=-x1d92ye25ijJXAhKIpO6--

--
gentoo-user@lists.gentoo.org mailing list

Safety Articles | Usenet Groups | Usenet News | Bluegrass