-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jean Magnan de Bornier wrote:
> Thanks Daniel and Arturo; unrfortunately I have some hardware problem on
> this machine (cdrom out of use), so I'll have to repair that first before
> I can try your solution  :-(

Absolutely not.

It might be possible to obtain a root login without ever logging in.

Reboot the system.

If you are using LILO:

Choose your kernel. Append " init=/bin/sh" and press enter. You should get a 
"#" prompt in a while.

If you are using GRUB:

Press "e", then select de kernels parameters, and press "e" again. Append " 
init=/bin/sh". Press
enter. Press "b" to boot it. Same results.

Now, that's pretty much like chrooting to /mnt/gentoo when installing. Run 
env-update && source
/etc/profile.

Now emerge pam, change your root password (or remove the hash altogether from 
/etc/shadow), etc, etc.

Hope it helps.

- --
Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
¿No sabés a dónde ir a comer o tomar algo? Visitá www.vivamoslavida.com.ar

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFokS0AlpOsGhXcE0RAnnyAJ45sFb5v/420Ck/wIehdqAAjkzu0QCfYKbS
kYAsIXRJi+/2z7mWbb15+Xg=
=1vwy
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list

Reply via email to