Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 1996 07:04:38 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        davidn@sdev.usn.blaze.net.au (David Nugent)
Subject:   Re: Logging ttys off
Message-ID:  <199612020604.HAA21020@uriah.heep.sax.de>
In-Reply-To: <Mutt.19961202150224.davidn@sdev> from David Nugent at "Dec 2, 96 03:02:24 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As David Nugent wrote:

> I'm looking for a "foolproof" way of logging out lines that
> are in use. The only real information available at the time I
> need to do this is the user's utmp entry.

While not being a `nice' way wrt. to signalling user processes,
revoke(2) is perhaps the _safest_ way.  So you should perhaps fall
back to this if you fail to SIGHUP the processes.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612020604.HAA21020>