From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 11:14:18 2010 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 3B0C71065670 for ; Thu, 8 Jul 2010 11:14:18 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C26A58FC16 for ; Thu, 8 Jul 2010 11:14:17 +0000 (UTC) Received: by wyb34 with SMTP id 34so532088wyb.13 for ; Thu, 08 Jul 2010 04:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=KdvTcDgXsKFMNUl7CcTH3Vyb14hmz9Lk2Zxg2lLUTX0=; b=s3m5uTJzWvOsGF86grEbE1R5hZesXS8Ajxy63RRSieFQDpHcYIqKXQE5whtQWevs6R Q4LkdBmNBO/a0b331TMde/yGLYkCfu/flB8SXYjigPT9t/FRBzCnwP1SP3Gq4KYYkwPo BO8KVi1KCtt+Y7x6Tr4+Nb62lPtnvqASSRnjU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=ZDWKnqt4QXEVNHck8m0RStY8no07tEFfq8NDfI0lh4dJq6TyRCCQYe1drc2ff7sMtH HwTSGcykO6CKctPMzxZ/xJmouzZhg4yxhkyUQR6zcbyskmCaSwGlKzGXT6vLP4Cdg7+s gth05BKLOvikI2aIOhO/p3wBneHDxctNa0GEk= Received: by 10.227.157.77 with SMTP id a13mr6490144wbx.110.1278587649813; Thu, 08 Jul 2010 04:14:09 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id y70sm1069970weq.30.2010.07.08.04.14.07 (version=SSLv3 cipher=RC4-MD5); Thu, 08 Jul 2010 04:14:08 -0700 (PDT) Date: Thu, 8 Jul 2010 12:14:06 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100708121406.54b2591f@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [6.3] Get e-mail when CTRL-ALT-DEL is used? 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: Thu, 08 Jul 2010 11:14:18 -0000 On Thu, 08 Jul 2010 12:12:27 +0200 Gilles wrote: > Hello > > This is on a remote 6.3 host: I'd like to get an e-mail if a user hits > the CTRL-ALT-DEL to reboot the server. > > Googling told me that the use of the three-key combo can be > enabled/disabled when compiling a new kernel, but not how to manage > this feature when it's enabled in a running kernel. > If you put hw.syscons.kbd_reboot=0 in /etc/sysctl.conf, reboot by CTRL-ALT-DEL is disabled.