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

jidanni at jidanni.org jidanni at jidanni.org
Thu Apr 17 09:23:48 UTC 2008


Package: login
Version: 1:4.1.1-1
Severity: wishlist

Sometimes just after I do "su - nobody", I get instantly logged back out.
It's like I accidentally sent a ^D to the shell.

At first I thought it might be my emacs shell buffer sending junk, but
it happens in xterm too.
And it happens or doesn't happen without any pattern as to when.

And there's nothing funny in /var/log/auth.log.

Sorry if you can't reproduce it. Just wanted to let you know. Below we
see one bad and two goods.

# su - nobody
No directory, logging in with HOME=/
nobody at jidanni1:/$ logout <--------------I did not type this.
17:02 ~# su -l nobody
No directory, logging in with HOME=/
nobody at jidanni1:/$ exit
logout
17:02 ~# su -l nobody
No directory, logging in with HOME=/
nobody at jidanni1:/$ exit
logout

Yes, I typed the "exit"s. -l or - have the same probability.

Maybe there's a race condition that sometimes kills such a shell?





More information about the Pkg-shadow-devel mailing list