From owner-freebsd-questions Wed Sep 10 03:50:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA22932 for questions-outgoing; Wed, 10 Sep 1997 03:50:08 -0700 (PDT) Received: from hotpoint.dcs.qmw.ac.uk (hotpoint.dcs.qmw.ac.uk [138.37.88.162]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA22924 for ; Wed, 10 Sep 1997 03:50:02 -0700 (PDT) Received: from crux.dcs.qmw.ac.uk [138.37.89.3]; by hotpoint.dcs.qmw.ac.uk (8.8.6/8.8.5/S-4.0) with SMTP; id LAA12836; Wed, 10 Sep 1997 11:49:36 +0100 (BST) Date: Wed, 10 Sep 1997 11:49:39 +0100 Message-Id: <199709101049.LAA06316@crux> From: Scott Mitchell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Arizona Coyote CC: questions@freebsd.org Subject: Re: Xload In-Reply-To: <117089784@toto.iv> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 | 0xE8A64271 | like a dried up piece of roast goat" QMW College, London, UK | | -- J. S. Bach.