From owner-freebsd-questions Wed Mar 22 13:56:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from eagle.prod.itd.earthlink.net (eagle.prod.itd.earthlink.net [207.217.120.24]) by hub.freebsd.org (Postfix) with ESMTP id 3F9C637C300 for ; Wed, 22 Mar 2000 13:56:25 -0800 (PST) (envelope-from bduk@arthlink.net) Received: from arthlink.net (sdn-ar-005orportP311.dialsprint.net [63.178.69.49]) by eagle.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id NAA03928; Wed, 22 Mar 2000 13:56:20 -0800 (PST) Received: (from bduk@localhost) by arthlink.net (8.9.3/8.9.3) id NAA00907; Wed, 22 Mar 2000 13:31:48 -0800 (PST) (envelope-from bduk) Date: Wed, 22 Mar 2000 13:31:48 -0800 (PST) Message-Id: <200003222131.NAA00907@arthlink.net> From: Derrick Baumer To: chris@cwaiken.com Cc: freebsd-questions@FreeBSD.ORG In-reply-to: <20000322194408.26581.cpmta@c017.sfo.cp.net> (chris@cwaiken.com) Subject: Re: New FreeBSD Help Needed Reply-To: bduk@earthlink.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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? 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