Date: Wed, 22 Mar 2000 23:54:20 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Derrick Baumer <bduk@earthlink.net> Cc: chris@cwaiken.com, freebsd-questions@freebsd.org Subject: Re: New FreeBSD Help Needed Message-ID: <20000322235419.H248@parish> In-Reply-To: <200003222131.NAA00907@arthlink.net>; from bduk@earthlink.net on Wed, Mar 22, 2000 at 01:31:48PM -0800 References: <20000322194408.26581.cpmta@c017.sfo.cp.net> <200003222131.NAA00907@arthlink.net>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000322235419.H248>
