cvs commit: src/usr.bin/systat systat.1 src/usr.bin/vmstat vmstat.8 src/usr.sbin/iostat iostat.8

Matthew D. Fuller fullermd at over-yonder.net
Thu May 26 22:37:19 PDT 2005


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 at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.


More information about the cvs-src mailing list