Skip site navigation (1)Skip section navigation (2)
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?
Message-ID:  <19970605085549.GA03896@uriah.heep.sax.de>
In-Reply-To: <199706050254.WAA20216@ethanol.gnu.ai.mit.edu>; from Joel Ray Holveck on Jun 4, 1997 22:54:45 -0400
References:  <Pine.BSF.3.95q.970604154944.8133A-100000@misery.sdf.com> <199706050254.WAA20216@ethanol.gnu.ai.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



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