From owner-freebsd-bugs Mon Dec 28 08:30:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA16279 for freebsd-bugs-outgoing; Mon, 28 Dec 1998 08:30:13 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA16274 for ; Mon, 28 Dec 1998 08:30:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA05755; Mon, 28 Dec 1998 08:30:03 -0800 (PST) Date: Mon, 28 Dec 1998 08:30:03 -0800 (PST) Message-Id: <199812281630.IAA05755@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: "Gary Palmer" Subject: Re: bin/9215: Logout of all virtual termnials by one kill Reply-To: "Gary Palmer" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/9215; it has been noted by GNATS. From: "Gary Palmer" To: root@rjlynn.ddns.org Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/9215: Logout of all virtual termnials by one kill Date: Mon, 28 Dec 1998 11:21:41 -0500 Charlie Root wrote in message ID <199812280509.AAA00334@rjlynn.ddns.org>: > a -HUP kill to Swapper (PID 0 always) logs all virtual terminal out. > I don't know about network terms, however. You're not killing swapper. Please read `man 2 kill': If pid is greater than zero: Sig is sent to the process whose ID is equal to pid. If pid is zero: Sig is sent to all processes whose group ID is equal to the pro- cess group ID of the sender, and for which the process has per- mission; this is a variant of killpg(2). So you were sending a `HUP' to login processes, which (surpringly) logs you out. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message