From owner-freebsd-hackers Thu Jun 5 00:22:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA00278 for hackers-outgoing; Thu, 5 Jun 1997 00:22:49 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id AAA00262 for ; Thu, 5 Jun 1997 00:22:45 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA17036 for freebsd-hackers@FreeBSD.ORG; Thu, 5 Jun 1997 09:22:41 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id IAA23723; Thu, 5 Jun 1997 08:55:49 +0200 (MET DST) Message-ID: <19970605085549.GA03896@uriah.heep.sax.de> Date: Thu, 5 Jun 1997 08:55:49 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@FreeBSD.ORG Subject: Re: tty_snoop: why check uid? References: <199706050254.WAA20216@ethanol.gnu.ai.mit.edu> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199706050254.WAA20216@ethanol.gnu.ai.mit.edu>; from Joel Ray Holveck on Jun 4, 1997 22:54:45 -0400 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Joel Ray Holveck wrote: > > Because if the tty snoop is not root, he/she soon will be. It is better > >not to fool yourself, and give the root password to all snoop users. > > I do. And I wanted to get around having to use 'su' for this operation. Make suser(9) a no-op then. :-] The kernel won't ever enforce to you again to be root for some operation... -- 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. ;-)