Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.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 08:03:34
Message-Id: 49FD4FD0.6070102@f_philipp.fastmail.net
In Reply to: [gentoo-user] unable to login to user account or do su - username by Valmor de Almeida
1 Valmor de Almeida schrieb:
2 >
3 > Hello,
4 >
5 > After a system/world update my user account dealmeida cannot be logged
6 > to or root cannot su to it. When su - dealmeida is issued at the root
7 > command prompt, it immediately returns to root. When login is at the
8 > console the motd appears (twice; why?) and then the session is closed.
9 > In the /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
14 > for user dealmeida by root(uid=0)
15 > May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed
16 > for user dealmeida
17 >
18 > No other account has this problem.
19 >
20 > Any ideas?
21 >
22 > Thanks,
23 >
24 > --
25 > Valmor
26 >
27
28 A low hanging fruit: Maybe the user wrote 'exit' or 'exec' into her .bashrc
29
30 By the way: Which shell is defined in /etc/passwd?

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 Valmor de Almeida <val.gentoo@×××××.com>