Date: Mon, 28 Dec 1998 08:30:03 -0800 (PST) From: "Gary Palmer" <gpalmer@FreeBSD.ORG> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/9215: Logout of all virtual termnials by one kill Message-ID: <199812281630.IAA05755@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/9215; it has been noted by GNATS. From: "Gary Palmer" <gpalmer@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812281630.IAA05755>