> > Revision 1.51 of su.c fixes the bug. > No it doesn't. This is an obvious step and of course I tried to do the same first. This is what I was getting then and what I am getting now with your patch applied (my comments are in angle brackets):
<Starting point: user is running zsh> [user]% sudo -s <root runs zsh> [root]# [root]# [root]# su - <root runs ksh93> # # <press ^D here, all seems to be OK, lets try again > [root]# su - # zsh: suspended (tty output) su - <this time shell gets immediately suspended for some reason> [root]# fg [1] + continued su - # # # # # <press ^D> [root]# [root]# ^D [user]% I was able to reproduce this behaviour only when sudo was used initially to run user shell with root privileges. I've also seen similar weirdness happen when screen is used too. This is why I had to disable signal handling in su - somehow that does not conflict so much with other programs. -- Alexander Kabaev To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message