Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 08:37:36 +0000
From:      Nik Clayton <nik@freebsd.org>
To:        Warner Losh <imp@village.org>
Cc:        nsayer@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: sysctl interface for apm?
Message-ID:  <20000718083736.A9093@kilt.nothing-going-on.org>
In-Reply-To: <200007171912.NAA63248@harmony.village.org>; from imp@village.org on Mon, Jul 17, 2000 at 01:12:23PM -0600
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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