[6244] in Kerberos
Re: SIGINT in the rlogind child
daemon@ATHENA.MIT.EDU (Barry Jaspan)
Thu Nov 16 14:34:09 1995
Date: Thu, 16 Nov 95 14:18:59 -0500
From: "Barry Jaspan" <bjaspan@MIT.EDU>
To: Sam Hartman <hartmans@MIT.EDU>
Cc: Gary Gaskell <gaskell@dstc.edu.au>, kerberos@MIT.EDU, krb5-bugs@MIT.EDU
In-Reply-To: [6241]
I solved this problem while at OV. The bug, as I recall, had to do
with process groups: krlogind was not setting up the shell child
process to be in a different pgrp than krlogind itself, and thus when
krlogind delivered a SIGINT to thechild it ended up killing itself.
This bug also explains the difference in behavior when the user's
shell is /bin/sh or /bin/csh, since those two shells themselves behave
very differently: /bin/sh runs children in its own pgrp but ignores
SIGINT, while /bin/csh runs children in a different pgrp. I don't
recall the exact details any more.
I thought I had posted a patch for this bug to krb5-bugs already..
Barry