From owner-freebsd-isp Tue Oct 14 07:38:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA20444 for isp-outgoing; Tue, 14 Oct 1997 07:38:20 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA20438 for ; Tue, 14 Oct 1997 07:38:18 -0700 (PDT) (envelope-from nate@rocky.mt.sri.com) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id IAA23589; Tue, 14 Oct 1997 08:37:16 -0600 (MDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id IAA06817; Tue, 14 Oct 1997 08:37:14 -0600 (MDT) Date: Tue, 14 Oct 1997 08:37:14 -0600 (MDT) Message-Id: <199710141437.IAA06817@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eugeny Kuzakov Cc: Daniel Podolsky , "'freebsd-isp@FreeBSD.ORG'" Subject: Re: Ctrl-Alt-Del on console In-Reply-To: <3443756B.795B64C9@lab321.ru> References: <3443756B.795B64C9@lab321.ru> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Sorry for stuped question ;) > > If anybody (usually me) press Ctrl-Alt-Del on my FreeBSD box console the > > reboot procedure starts. Is it possible to disable this (if I press > > Ctrl-Alt-Del nothing happen)? > > You need find in /sys/i386/isa/syscons.c comment shutdown_nice();. > :) Or replase this string to printf("Dont touch "); No, no, no. That's overkill. ;) Simple modify the keymap to not send out the 'boot key' from the keyboard, and it'll never reboot your computer. No editing sources, no hacking required. man kdbmap. Nate