From owner-cvs-src@FreeBSD.ORG Fri May 27 05:37:19 2005 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00FC516A41C; Fri, 27 May 2005 05:37:19 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-144-221-242.jan.bellsouth.net [70.144.221.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 995FD43D1F; Fri, 27 May 2005 05:37:18 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: by mortis.over-yonder.net (Postfix, from userid 100) id B32A821006; Fri, 27 May 2005 00:37:16 -0500 (CDT) Date: Fri, 27 May 2005 00:37:16 -0500 From: "Matthew D. Fuller" To: Brian Fundakowski Feldman Message-ID: <20050527053716.GA1464@over-yonder.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050527024548.GP1201@green.homeunix.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.9i-fullermd.2 Cc: Giorgos Keramidas , cvs-src@freebsd.org, John-Mark Gurney , 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2005 05:37:19 -0000 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.