[6.3] Assigning "shutdown" to eg. Syst?
Ian Smith
smithi at nimnet.asn.au
Tue Dec 23 05:21:17 UTC 2008
On Mon, 22 Dec 2008 20:53:39 +0100 Gilles <gilles.ganault at free.fr> wrote:
> On Mon, 22 Dec 2008 16:09:02 +0100, Polytropon <freebsd at edvax.de>
> wrote:
> >I have a similar setting, but it requires X, WindowMaker and a
> >Sun Type 6 USB keyboard. :-)
:)
> Thanks for the input, but this server is text-only. I'll try to find
> how FreeBSD is configured so that ALT-CTRL-DEL maps to "reboot", and
> add my own keyboard key to shut it down.
Or let your dad login with his own account and password. Just add him
to the operator group so that he can run /sbin/shutdown. If he's shy,
write him a little script that does 'shutdown -p now [comment ..]'
Shutdown is cleaner than reboot, runs 'stop' rc.d scripts for all active
daemons, and leaves a nice log entry in messages, including any comment.
cheers, Ian
More information about the freebsd-questions
mailing list