*BSD News Article 36775


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!spool.mu.edu!news.clark.edu!netnews.nwnet.net!selway.umt.edu!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Interesting XF86-3.1 problem.
Date: 9 Oct 1994 19:15:17 GMT
Organization: Montana State University, Bozeman  Montana
Lines: 22
Message-ID: <379fg5$22i@pdq.coe.montana.edu>
References: <mgoveCxC5p2.4H5@netcom.com>
NNTP-Posting-Host: 153.90.192.29

In article <mgoveCxC5p2.4H5@netcom.com>,
Matthew E. Gove <mgove@netcom.com> wrote:
>
>	I've encountered an interesting bug/feature of XFree86-3.1 on 
>FreeBSD-1.1.5.1.  If you run xload as a normal user, it dies with the
>error 'xload: couldn't obtain load average X?oeXS'.  Now, here's the really
>interesting part. If you are 'root', it works fine. xload perms are:
>-rwsr-xr-x    1 root     kmem        12288 Sep 28 10:08 /usr/X11R6/bin/xload
>
>I'm stumped on this one...

Check the permissions on /dev/mem and friends.  It is also possible that
the xload in 3.1 doesn't do setuid/seteuid stuff handling correctly for
FreeBSD.


Nate
-- 
nate@bsd.coe.montana.edu     |  FreeBSD core member and all around tech.
nate@cs.montana.edu          |  weenie.
work #: (406) 994-4836       | 
home #: (406) 586-0579       |  Available for contract/otherwise work.