Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
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 01:23:14
Message-Id: 49FCF1EC.9040705@gmail.com
In Reply to: Re: [gentoo-user] unable to login to user account or do su - username by Paul Hartman
1 Paul Hartman wrote:
2 > On Sat, May 2, 2009 at 7:52 PM, Valmor de Almeida <val.gentoo@×××××.com> wrote:
3 >> Hello,
4 >>
5 >> After a system/world update my user account dealmeida cannot be logged to or
6 >> root cannot su to it. When su - dealmeida is issued at the root command
7 >> prompt, it immediately returns to root. When login is at the console the
8 >> motd appears (twice; why?) and then the session is closed. In the
9 >> /var/log/messages I get
10 >>
11 >> May 2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root
12 >> May 2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida
13 >> May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened for
14 >> user dealmeida by root(uid=0)
15 >> May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed for
16 >> user dealmeida
17 >>
18 >> No other account has this problem.
19 >>
20 >> Any ideas?
21 >>
22 >> Thanks,
23 >
24 > Is the user's shell set properly?
25 >
26
27 I made no changes in the account and looked over the . startup files;
28 they look okay. Also, the output of password -S dealmeida are fine.
29 Still puzzled why motd appears twice even at root login.
30
31 Thanks
32
33 --
34 Valmor