Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 1997 11:49:39 +0100
From:      Scott Mitchell <scott@dcs.qmw.ac.uk>
To:        Arizona Coyote <coyote@ratbert.aisol.net>
Cc:        questions@freebsd.org
Subject:   Re: Xload
Message-ID:  <199709101049.LAA06316@crux>
In-Reply-To: <117089784@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Arizona Coyote said:
>Hi,
>
>We had this discussion on the NetBSD list a while ago. Xload does a check
>to see if you are root (it's written into the source code).  You can hack
>the source if you want.  But I just su to root in an xterm and then do a 
>
>  xload &
>
>It works for me.
>
>Mark
>
>On Mon, 8 Sep 1997, EMANUELE COSTA wrote:
>
>> Hi all,
>> 	Could someone tell me how to make xload work under x11?
>> 	I've tried to change the ownership group as it was suggested in 
>> the man pages, but it's still working only when I access the system from 
>> the root account.
>> 	Thanks in advance
>> 					EMANUELE

You did set the xload binary to be setgid, as well as in the appropriate
group (kmem, I seem to remember)? ie,

$ chgrp kmem xload
$ chmod g+s xload

This definitely worked for me.

	Scott

-- 
===========================================================================
Scott Mitchell          | PGP Key ID |"If I can't have my coffee, I'm just 
<scott@dcs.qmw.ac.uk>   | 0xE8A64271 | like a dried up piece of roast goat"
QMW College, London, UK |            |     -- J. S. Bach.



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