Gentoo Archives: gentoo-user

From: Daniel da Veiga <danieldaveiga@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cannot login after emerge --update --deep --newuse world crashed
Date: Mon, 05 Jun 2006 14:23:47
Message-Id: 342e1090606050714h575c5938p17ebb3949109a357@mail.gmail.com
In Reply to: [gentoo-user] cannot login after emerge --update --deep --newuse world crashed by Richard Watson
1 On 6/5/06, Richard Watson <waty@×××××××××××.au> wrote:
2 > Hi all - I was running emerge --update --deep --newuse world over the
3 > weekend when I had a power outage and my computer crashed. For some reason
4 > ever since then I cannot login. If I enter Root at the login prompt the
5 > computer thinks about it and then just returns to the login prompt.
6 > Obviously something has gone wrong with my authentication and I'm just
7 > wondering whether anyone can give me guidance on how to fix this.
8 >
9 > I was able to boot from the Gentoo Stage 1 Livecd and chroot into my system
10 > but resetting the password with passwd didn't work. I suspect I need to
11 > emerge the relevant modules again but don't know which ones.
12 >
13 > Any help would be really appreciated, thanks. Richard
14 >
15 >
16
17 You got caught on the pam-login/shadow conflict and now you have no
18 one to accomplish your authentication.
19
20 Try starting in Interactive Mode ("I" at the start) and go till the
21 "local" service, fall to a command prompt, you'll be asked for your
22 root password, give it and you'll be at an almost complete system, so:
23
24 emerge -C pam-login && emerge shadow
25
26 etc-update
27
28 And you may correct the problem. I don't see a relevant reason for a
29 LiveCD boot or chroot, as long as your system still boots ;)
30
31 --
32 Daniel da Veiga
33 Computer Operator - RS - Brazil
34 -----BEGIN GEEK CODE BLOCK-----
35 Version: 3.1
36 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
37 PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
38 ------END GEEK CODE BLOCK------
39 --
40 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] cannot login after emerge --update --deep --newuse world crashed Neil Bothwick <neil@××××××××××.uk>