Re: kernel option to prevent CTRL+ALT+DEL



genie_66@xxxxxxxxx wrote:
Hi,
I'd like to be able to prevent users (some of whom have access to
my server.._physical_ access, I mean) from doing CTRL+ALT+DEL. A
Linux machine I used once had this... can someone tell me what I
put into the kernel config file to do this?

Several possibilities:
(1) recompile kernel or syscons module with

options SC_DISABLE_REBOOT

(2) Install a modified keytable

Edit your corresponding /usr/share/syscons/keymaps/<kbd>.map.

Search for all occurences of "boot" and change them to "nop". Then
reload the modified keytable (via kbdcontrol)

(3) disable syscons reboot ability via sysctl:

sysctl -w hw.syscons.kbd_reboot=0

To make this change permanent add a line
hw.syscons.kbd_reboot=0
to /etc/sysctl.conf

--
Daniel
.