Comment 8 for bug 224802

Revision history for this message
toxygen (toxygen1) wrote :

Definitely not the bug of sudo, but su or bash.

both debian & fedora & ubuntu

http://bugs.gentoo.org/show_bug.cgi?id=232630
"su from root to another user will exit after pressing a key."

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476519
"su - nobody sometimes logged back out instantly"

such@vpn:~$ su -
vpn:~# alogout
such@vpn:~$ su
vpn:/home/such# aexit

I would like to stress the difference it uses exit and logout w/ or w/o -.

Any ideas how to debug this? With strace, it never occurs.