From owner-freebsd-mobile Sun Nov 9 22:41:21 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA07652 for mobile-outgoing; Sun, 9 Nov 1997 22:41:21 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA07640 for ; Sun, 9 Nov 1997 22:41:14 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word.smith.net.au (localhost.gsoft.com.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id RAA01738; Mon, 10 Nov 1997 17:05:57 +1030 (CST) Message-Id: <199711100635.RAA01738@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Warner Losh cc: Mike Smith , mobile@freebsd.org Subject: Re: A little tk program In-reply-to: Your message of "Sun, 09 Nov 1997 23:28:16 PDT." <199711100628.XAA25538@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Nov 1997 17:05:57 +1030 From: Mike Smith Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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