*BSD News Article 37349


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!caen!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!news.sprintlink.net!hookup!olivea!sgigate.sgi.com!sgiblab!gatekeeper.us.oracle.com!barrnet.net!Reason.cdrom.com!oz.cdrom.com!jkh
From: jkh@freefall.cdrom.com (Jordan K. Hubbard)
Newsgroups: comp.os.386bsd.questions
Subject: Re: xload and access to load average
Date: 02 Nov 1994 07:21:49 GMT
Organization: A poorly-installed InterNetNews site
Lines: 17
Message-ID: <JKH.94Nov1232149@freefall.cdrom.com>
References: <3976mm$i8i@lynx.unm.edu>
NNTP-Posting-Host: freefall.cdrom.com
In-reply-to: ahvezda@jemez.eece.unm.edu's message of 2 Nov 1994 05:05:26 GMT

In article <3976mm$i8i@lynx.unm.edu> ahvezda@jemez.eece.unm.edu (Ales Vaclav Hvezda) writes:

   The file, xload, has the following permissions:

    -rwsr-xr-x    1 bin      kmem       12288 Sep 28 08:07 /usr/X11R6/bin/xload

I think it should more properly be:

    -rwxr-sr-x    1 bin      kmem       12288 Sep 28 08:07 /usr/X11R6/bin/xload

E.g. sgid kmem, not suid bin!

xload, ps, w and friends all need to be able to read /dev/kmem.  You
don't want to have /dev/kmem readable by ALL since that would be a security
hole.

					Jordan