Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 1998 13:22:50 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Jim Holthaus <jim@holthaus.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Ctrl-Alt-Delete
Message-ID:  <19980904132250.L606@freebie.lemis.com>
In-Reply-To: <v04003a01b2150cdfbc1a@[208.16.89.133]>; from Jim Holthaus on Thu, Sep 03, 1998 at 10:20:40PM -0500
References:  <v04003a01b2150cdfbc1a@[208.16.89.133]>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980904132250.L606>