From owner-freebsd-hackers Sun Sep 14 23:30:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA04247 for hackers-outgoing; Sun, 14 Sep 1997 23:30:14 -0700 (PDT) Received: from usr04.primenet.com (tlambert@usr04.primenet.com [206.165.6.204]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA04242 for ; Sun, 14 Sep 1997 23:30:11 -0700 (PDT) Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id XAA15164; Sun, 14 Sep 1997 23:29:56 -0700 (MST) From: Terry Lambert Message-Id: <199709150629.XAA15164@usr04.primenet.com> Subject: Re: Here's an interesting bug in our utmp handling. To: grog@lemis.com (Greg Lehey) Date: Mon, 15 Sep 1997 06:29:56 +0000 (GMT) Cc: tlambert@primenet.com, brian@awfulhak.org, jkh@time.cdrom.com, hackers@FreeBSD.ORG In-Reply-To: <19970915122720.11107@lemis.com> from "Greg Lehey" at Sep 15, 97 12:27:20 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > In exec, revoke the tty to kill off all the other processes, if > > it's /bin/login, while keeping the tty for the process exec'ing > > so it doesn't hang up. > > Hmm. What if the old user had left some things running in the > background? Then the won't mind having their tty revoked, because they're in the background. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.