Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2005 00:37:16 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Brian Fundakowski Feldman <green@freebsd.org>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, cvs-src@freebsd.org, John-Mark Gurney <gurney_j@resnet.uoregon.edu>, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.bin/systat systat.1 src/usr.bin/vmstat vmstat.8 src/usr.sbin/iostat iostat.8
Message-ID:  <20050527053716.GA1464@over-yonder.net>
In-Reply-To: <20050527024548.GP1201@green.homeunix.org>
References:  <200505261754.j4QHsGFG002792@repoman.freebsd.org> <20050526192502.GR959@funkthat.com> <20050526224648.GA865@gothmog.gr> <20050526234438.GS959@funkthat.com> <20050527002253.GA48929@gothmog.gr> <20050527024548.GP1201@green.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 26, 2005 at 10:45:48PM -0400 I heard the voice of
Brian Fundakowski Feldman, and lo! it spake thus:
> 
> Why is gstat root-only, anyway?  Is the information it gives
> supposed to be much more sensitive than that which iostat does?  I
> would prefer being able to run it not as root...

gstat isn't root-only by itself; it reads /dev/devstat, which is
default root:wheel 400.  I've got devstat set to 440 in devfs.conf on
my system, so I can run gstat as a wheel user.  I think devstat opens
up other capabilities, though, so you wouldn't want it open for
untrusted users.


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



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