Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 1997 17:05:57 +1030
From:      Mike Smith <mike@smith.net.au>
To:        Warner Losh <imp@village.org>
Cc:        Mike Smith <mike@smith.net.au>, mobile@freebsd.org
Subject:   Re: A little tk program 
Message-ID:  <199711100635.RAA01738@word.smith.net.au>
In-Reply-To: Your message of "Sun, 09 Nov 1997 23:28:16 PDT." <199711100628.XAA25538@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> In message <199711100320.NAA00665@word.smith.net.au> Mike Smith writes:
> : > P.S. You need to run this as root, or have apm be setuid root.
> : 
> : Er, I don't think so.  Certainly, apm will give me power status as 
> : non-root.
> 
> Doesn't for me.  I got permission failed before I made apm setuid
> root.

/dev/apm is 0660 root.operator.  I'm in operator, so it works for me.  
Generally if you're on the console on a laptop you want to be in 
operator so you can 'shutdown -h now'.

mike





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