From owner-freebsd-questions@FreeBSD.ORG Tue Dec 23 05:21:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D09BE1065670 for ; Tue, 23 Dec 2008 05:21:17 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 57E2B8FC1A for ; Tue, 23 Dec 2008 05:21:16 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id mBN5KrkY049235; Tue, 23 Dec 2008 16:20:53 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 23 Dec 2008 16:20:53 +1100 (EST) From: Ian Smith To: Gilles In-Reply-To: <20081222195940.A4A4B1065697@hub.freebsd.org> Message-ID: <20081223155700.O29108@sola.nimnet.asn.au> References: <20081222195940.A4A4B1065697@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: [6.3] Assigning "shutdown" to eg. Syst? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2008 05:21:17 -0000 On Mon, 22 Dec 2008 20:53:39 +0100 Gilles wrote: > On Mon, 22 Dec 2008 16:09:02 +0100, Polytropon > 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