Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 22:32:58 +0000
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Richard Cotrina <rcc@demo.telefonica.com.pe>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: CTR+ALT+DEL Sequence
Message-ID:  <20000215223258.A591@marder-1>
In-Reply-To: <007b01bf77ec$f75dcc90$4d01190a@tp.com.pe>
References:  <007b01bf77ec$f75dcc90$4d01190a@tp.com.pe>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 15, 2000 at 02:43:42PM -0500, Richard Cotrina wrote:
> Hi Folks:
> 
> I found out that anyone can force a shutdown in my FreeBSD box using the
> CTR+AL+DEL Keyboard Sequence at the console. I don't know if it is a bug ,
> but I would like to know if there is something to fix or block this keyboard
> sequence.  I am running a FreeBSD 3.4-Release Box.
> 
> However, It doesn't happen when the console is in graphic (X-Win) mode ,
> only works in character mode.
> 
> Any points would be appreciated. Thanks in Advance.
> 

Add the following to your kernel config file and re-build your kernel

options		SC_DISABLE_REBOOT	# disable reboot key sequence

Alternatively, edit /usr/share/syscons/keymaps/<your_keymap_file> and
change all instances of ``boot'' to ``nop'', e.g. from

083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N

to

083   del    '.'    '.'    '.'    '.'    '.'    nop    nop     N

> 
> Richard Cotrina
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
	Microsoft: Where do you want to go today?
	Linux:     Where do you want to go tomorrow?
	BSD:       Are you guys coming, or what?
			              -Poster at LinuxWorld 2000
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org             http://www.radan.com



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?20000215223258.A591>