On Sat, 02 May 2009 20:52:39 -0400 Valmor de Almeida <val.gen...@gmail.com> wrote:
> After a system/world update my user account dealmeida cannot be logged > to or root cannot su to it. When su - dealmeida is issued at the root > command prompt, it immediately returns to root. When login is at the > console the motd appears (twice; why?) and then the session is closed. > In the /var/log/messages I get > > May 2 20:42:35 xeon0 su[29286]: Successful su for dealmeida by root > May 2 20:42:35 xeon0 su[29286]: + pts/1 root:dealmeida > May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session opened > for user dealmeida by root(uid=0) > May 2 20:42:35 xeon0 su[29286]: pam_unix(su:session): session closed > for user dealmeida > > No other account has this problem. > > Any ideas? I don't know about motd, but the rest looks like pam problem to me, if you're using pam, of course. Try 'euse -i pam' to see if it's enabled. If that's the case, first of all I'd suggest to check etc-update. Then look through /etc/pam.d, especially system-* files. There you can remove some of the required (for successfull authentication) modules, so their failure won't affect the process. -- Mike Kazantsev // fraggod.net
signature.asc
Description: PGP signature