Gentoo Archives: gentoo-user

From: Mike Kazantsev <mike_kazantsev@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] unable to login to user account or do su - username
Date: Sun, 03 May 2009 02:57:01
Message-Id: 20090503085341.674f0283@coercion
In Reply to: [gentoo-user] unable to login to user account or do su - username by Valmor de Almeida
1 On Sat, 02 May 2009 20:52:39 -0400
2 Valmor de Almeida <val.gentoo@×××××.com> wrote:
3
4 > After a system/world update my user account dealmeida cannot be logged
5 > to or root cannot su to it. When su - dealmeida is issued at the root
6 > command prompt, it immediately returns to root. When login is at the
7 > console the motd appears (twice; why?) and then the session is closed.
8 > In the /var/log/messages I get
9 >
10 > May 2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root
11 > May 2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida
12 > May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened
13 > for user dealmeida by root(uid=0)
14 > May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed
15 > for user dealmeida
16 >
17 > No other account has this problem.
18 >
19 > Any ideas?
20
21 I don't know about motd, but the rest looks like pam problem to me, if
22 you're using pam, of course. Try 'euse -i pam' to see if it's enabled.
23
24 If that's the case, first of all I'd suggest to check etc-update.
25 Then look through /etc/pam.d, especially system-* files. There you can
26 remove some of the required (for successfull authentication) modules,
27 so their failure won't affect the process.
28
29 --
30 Mike Kazantsev // fraggod.net

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] unable to login to user account or do su - username Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] unable to login to user account or do su - username Valmor de Almeida <val.gentoo@×××××.com>