[Pkg-shadow-devel] Bug#476519: Bug#476519: Bug#476519: su - nobody sometimes logged back out instantly

Nicolas François nicolas.francois at centraliens.net
Thu Apr 17 18:38:06 UTC 2008

On Thu, Apr 17, 2008 at 07:58:19PM +0800, jidanni at jidanni.org wrote:
> Thanks, I tried your script with
> PS1=#\  ENV= HOME=/tmp ./test.exp
> but for 20 instead of 2000 passes, but didn't trigger the bug.
> Maybe there are some bugs expect(1) cannot trigger like real users.
> Yes it is a mystery to me.

I could not reproduce it when run by hand neither.

Could you reproduce it with another user?
Could you reproduce it with another terminal (console)?
Are you using special PAM modules?

You mentioned no messages in /var/log/auth.log, are there messages in

What's your probability of occurrence? (1 out of 3?)

Can you try to get a systrace of su when it fails and compare it with a
successful session.


More information about the Pkg-shadow-devel mailing list