Re: Safe to add read attributes to /dev/kmem?

From: Jan-Frode Myklebust (janfrode@PARALLAB.UIB.NO)
Date: Wed Oct 02 2002 - 03:15:28 EDT


On Tue, Oct 01, 2002 at 05:29:39PM -0300, Ivo Bernardino wrote:
> Hi,
>
> You can set the Set-user-ID to top command.
>
> chmod u+s top
>
> -rws--x--x 1 root system 416224 Apr 24 2001 top
>

.. and what happens if a 'top' user tries to kill some random process
from within 'top'?

I use g+s on our 'top' instead. Think that should be a bit safer..

% ls -l /usr/local/bin/top
-rwxr-s--x 1 janfrode system 82595 Apr 30 14:02 /usr/local/bin/top

  -jf



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:15 EDT