From owner-freebsd-questions Wed Mar 22 20: 8:43 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pop.idx.com.au (pop.idx.com.au [203.14.30.10]) by hub.freebsd.org (Postfix) with ESMTP id 1256637C347 for ; Wed, 22 Mar 2000 20:08:36 -0800 (PST) (envelope-from dannyh@idx.com.au) Received: from freebsd.freebsd.org (tntwc01-3-238.idx.com.au [203.166.3.238]) by pop.idx.com.au (8.9.3/8.9.3) with SMTP id PAA26767; Thu, 23 Mar 2000 15:05:18 +1100 From: Danny To: Mark Ovens , Derrick Baumer Subject: Re: New FreeBSD Help Needed Date: Fri, 24 Mar 2000 15:06:56 +1100 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain Cc: chris@cwaiken.com, freebsd-questions@FreeBSD.ORG References: <20000322235419.H248@parish> MIME-Version: 1.0 Message-Id: <00032415090102.00326@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Get your wife to type in "shutdown -h NOW" or to reboot get her to type in "shutdown -r NOW" If she doesn't know how to use the computer Create a set of documentation. place the documentation next to the computer When writing good consince documentation always imagine you are trying to explain instructions like you are explaining instructions to a 12 year old. On Thu, 23 Mar 2000, Mark Ovens wrote: > 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 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message