Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 1998 23:15:01 -0500 (EST)
From:      "Adrian T. Filipi-Martin" <atf3r@cs.virginia.edu>
To:        The Administrator <admin@righi.df.unibo.it>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ctrl-alt-del
Message-ID:  <Pine.SOL.3.96.980127231034.2714A-100000@mamba.cs.Virginia.EDU>
In-Reply-To: <Pine.BSF.3.96.980127181246.857A-100000@righi.df.unibo.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Jan 1998, The Administrator wrote:

> 
> On my system, a i486 running FreeBSD-2.2.5,
> the sequence of keys Ctrl-Alt-Canc causes a reboot,
> if done on console.
> The thing is that I am never at console,
> and the console is avaliable for users who need to make
> library research with netscape.
> Well I would like to disable users to reboot
> the system whenever they want with the 3 keys.
> Does someone know how to do it? how to disable Ctrl-Alt-Canc ?
> On Linux it was easy changing the configuration in
> /etc/inittab, but there is not this file on BSD.
> Someone could help me?
> thanks

	Yes, you can disable this behavior.  Take alook at the
kbdcontrol(8) program.  You can use it to dump the keymap and then load
another.  You will need to add a little code to reload the modified
keyboard on every reboot.  Maybe there is an option for this in rc.conf. 
You should take alook to see if it is already covered there. 

	Basically you want to replace all occurences of 'boot' in the
keymap with something like 'nop'.

cheers,

	Adrian
--
adrian@virginia.edu        ---->>>>| If I were stranded on a desert island, and
System Administrator         --->>>| I could only have one OS for my computer,
Neurosurgical Visualzation Lab -->>| it would be FreeBSD.  Think about it.....
http://www.nvl.virginia.edu/     ->|      http://www.freebsd.org/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.3.96.980127231034.2714A-100000>