From owner-freebsd-hackers Tue Jul 18 8:41:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from nothing-going-on.demon.co.uk (unknown [206.79.44.166]) by hub.freebsd.org (Postfix) with ESMTP id 706DC37BEA4; Tue, 18 Jul 2000 08:41:14 -0700 (PDT) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.9.3/8.9.3) id IAA09136; Tue, 18 Jul 2000 08:37:36 GMT (envelope-from nik) Date: Tue, 18 Jul 2000 08:37:36 +0000 From: Nik Clayton To: Warner Losh Cc: nsayer@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: sysctl interface for apm? Message-ID: <20000718083736.A9093@kilt.nothing-going-on.org> References: <39734D36.5FC7DDA@sftw.com> <3971F574.B492B904@softweyr.com> <1884.963737703@critter.freebsd.dk> <200007171753.LAA62543@harmony.village.org> <39734D36.5FC7DDA@sftw.com> <200007171912.NAA63248@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200007171912.NAA63248@harmony.village.org>; from imp@village.org on Mon, Jul 17, 2000 at 01:12:23PM -0600 Organization: FreeBSD Project Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jul 17, 2000 at 01:12:23PM -0600, Warner Losh wrote: > In message <39734D36.5FC7DDA@sftw.com> Nick Sayer writes: > : The "why bother" is easy -- one should not have to belong to group > : operator to determine the current battery state. Too many things > : already have to be sgid (at least) without making this another reason. > > You should already be a member of group operator so that you can > suspend your machine :-). Not necessarily. Fn+Esc (or Fn+F12) works quite nicely on this VAIO. > However, wouldn't it be much simpler and easier to make apm world > readable instead? Hmmm, and hack apm.c to open readonly. Hmmm, there > are other problems with that since you can do the nasty things... But > those should be fixed. I'd prefer getting the permissions right as well. Querying the current battery state shouldn't require special privs. N -- Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95. Telephone line, $24.95 a month. Software, free. USENET transmission, hundreds if not thousands of dollars. Thinking before posting, priceless. Somethings in life you can't buy. For everything else, there's MasterCard. -- Graham Reed, in the Scary Devil Monastery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message