From owner-freebsd-questions Wed Mar 22 15:54:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from tantalum.btinternet.com (tantalum.btinternet.com [194.73.73.80]) by hub.freebsd.org (Postfix) with ESMTP id 39C7737C275 for ; Wed, 22 Mar 2000 15:54:48 -0800 (PST) (envelope-from mark@ukug.uk.freebsd.org) Received: from [213.1.158.248] (helo=parish.my.domain) by tantalum.btinternet.com with esmtp (Exim 2.05 #1) id 12XupO-00052X-00; Wed, 22 Mar 2000 23:46:19 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id XAA01605; Wed, 22 Mar 2000 23:54:20 GMT (envelope-from mark) Date: Wed, 22 Mar 2000 23:54:20 +0000 From: Mark Ovens To: Derrick Baumer Cc: chris@cwaiken.com, freebsd-questions@freebsd.org Subject: Re: New FreeBSD Help Needed Message-ID: <20000322235419.H248@parish> References: <20000322194408.26581.cpmta@c017.sfo.cp.net> <200003222131.NAA00907@arthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003222131.NAA00907@arthlink.net>; from bduk@earthlink.net on Wed, Mar 22, 2000 at 01:31:48PM -0800 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 22, 2000 at 01:31:48PM -0800, Derrick Baumer wrote: > > > Sorry to bother you. As a new FreeBSD user I posted > > several questions on comp.unix.bsd.freebsd.misc that > > have gone unanswered, so I thought I would give you a > > try. > > > > 1) My FreeBSD box is up and running 24/7. My wife > > knows absolutely nothing about computers. I would like > > to set the F12 or Ctrl-Alt-Del key up to do a system > > "halt" so that when I'm at the office and we have a > > storm in our area, my wife could just press F12 or > > Crtl-Alt-Del and safely "halt" my system w/o file > > system damage. Can this be easily done? I tried editing > > the keyboard file w/o any luck. > > Any chance of just giving her the root password and telling her to > log in and type "shutdown -h now" when there's a problem? ``shutdown -r now'' works for ordinary users as well, as long as they are members of the wheel group. > If you're > good with code (or even mediocre, I guess), you could write a setuid > script or program to do it if you don't want her to have the root > password. How to link it to a key to be executed from the shell, > though, hmm... I don't know. > > Regarding the other questions, I don't know. Sorry. :) > > > -- > Derrick Baumer > bduk@earthlink.net > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Seminars, n.: From "semi" and "arse", hence, any half-assed discussion. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message