Gentoo Archives: gentoo-user

From: Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] PAM problem
Date: Mon, 08 Jan 2007 13:23:16
Message-Id: 45A244B4.1070507@buanzo.com.ar
In Reply to: Re: [gentoo-user] PAM problem by Jean Magnan de Bornier
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Jean Magnan de Bornier wrote:
5 > Thanks Daniel and Arturo; unrfortunately I have some hardware problem on
6 > this machine (cdrom out of use), so I'll have to repair that first before
7 > I can try your solution :-(
8
9 Absolutely not.
10
11 It might be possible to obtain a root login without ever logging in.
12
13 Reboot the system.
14
15 If you are using LILO:
16
17 Choose your kernel. Append " init=/bin/sh" and press enter. You should get a "#" prompt in a while.
18
19 If you are using GRUB:
20
21 Press "e", then select de kernels parameters, and press "e" again. Append " init=/bin/sh". Press
22 enter. Press "b" to boot it. Same results.
23
24 Now, that's pretty much like chrooting to /mnt/gentoo when installing. Run env-update && source
25 /etc/profile.
26
27 Now emerge pam, change your root password (or remove the hash altogether from /etc/shadow), etc, etc.
28
29 Hope it helps.
30
31 - --
32 Arturo "Buanzo" Busleiman - Consultor Independiente en Seguridad Informatica
33 ¿No sabés a dónde ir a comer o tomar algo? Visitá www.vivamoslavida.com.ar
34
35 -----BEGIN PGP SIGNATURE-----
36 Version: GnuPG v1.4.6 (GNU/Linux)
37 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
38
39 iD8DBQFFokS0AlpOsGhXcE0RAnnyAJ45sFb5v/420Ck/wIehdqAAjkzu0QCfYKbS
40 kYAsIXRJi+/2z7mWbb15+Xg=
41 =1vwy
42 -----END PGP SIGNATURE-----
43 --
44 gentoo-user@g.o mailing list