From owner-freebsd-questions Thu Sep 3 20:54:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA18378 for freebsd-questions-outgoing; Thu, 3 Sep 1998 20:54:08 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA18368 for ; Thu, 3 Sep 1998 20:54:04 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id NAA08448; Fri, 4 Sep 1998 13:22:50 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id NAA14775; Fri, 4 Sep 1998 13:22:50 +0930 (CST) Message-ID: <19980904132250.L606@freebie.lemis.com> Date: Fri, 4 Sep 1998 13:22:50 +0930 From: Greg Lehey To: Jim Holthaus , freebsd-questions@FreeBSD.ORG Subject: Re: Ctrl-Alt-Delete References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Jim Holthaus on Thu, Sep 03, 1998 at 10:20:40PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 3 September 1998 at 22:20:40 -0500, Jim Holthaus wrote: > Is there any way in 2.2.6-RELEASE to make Ctrl-Alt-Delete not reboot the box? Yes. 1. Choose a keymap file (if you don't have one already, take /usr/share/syscons/keymaps/us.iso.kbd). Make a copy of it in the same directory, say "us.noreboot.iso.kbd". 2. Edit the file and change all incidences of the word "boot" to "nop" (or something else if you want). 3. Edit /etc/rc.conf and change the line keymap="NO" # keymap in /usr/share/syscons/keymaps/* (or NO). to keymap="/usr/share/syscons/keymaps/us.noreboot.iso.kbd" 4. If you want the keymap to take effect before the next reboot, enter: # kbdcontrol -l /usr/share/syscons/keymaps/us.noreboot.iso.kbd Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message