From owner-freebsd-hackers Tue Jul 23 11:38:30 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA03310 for hackers-outgoing; Tue, 23 Jul 1996 11:38:30 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.eu.org [193.56.58.253]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA03301 for ; Tue, 23 Jul 1996 11:38:26 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.eu.org [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id UAA08933; Tue, 23 Jul 1996 20:38:20 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id UAA00956; Tue, 23 Jul 1996 20:37:23 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.Alpha.5/keltia-uucp-2.8) id TAA07568; Tue, 23 Jul 1996 19:56:36 +0200 (MET DST) Message-Id: <199607231756.TAA07568@keltia.freenix.fr> Date: Tue, 23 Jul 1996 19:56:36 +0200 From: roberto@keltia.freenix.fr (Ollivier Robert) To: ts@polynet.lviv.ua (Terletsky Slavik) Cc: freebsd-hackers@FreeBSD.ORG (FreeBSD Hackers mailing list) Subject: Re: How can I trap the CTRL-ALT-DEL combination In-Reply-To: <31F3B037.167E@polynet.lviv.ua>; from Terletsky Slavik on Jul 22, 1996 19:45:43 +0300 References: <31F3B037.167E@polynet.lviv.ua> X-Mailer: Mutt 0.37 Mime-Version: 1.0 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Terletsky Slavik: > When I need to reboot my remote router I call untrusted poeple to > switch OFF & ON the box, but would it be nice to do that traping > CTRL-ALT-DEL combination && reboot. Where can I do it? Look into your keymap file (taken from /usr/share/syscons/keymaps) and search for boot in it. If it has not the "boot" string in it, replace the lines #083 and #103 by these 083 del '.' '.' '.' '.' '.' boot boot N 103 fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot fkey61 O There was talk to enable/disable it via a sysctl(3) parameter but no one ever got around to do it... -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #16: Sun Jul 21 13:26:53 MET DST 1996