The clumsy admin and CTRL-ALT-DEL - request to disable it in the kernel



  • Seems like I do it every time. Used to managing Windoze boxes and inadvertently hit CTRL-ALT-DEL on the console and reboot the firewall.

    I briefly looked at disabling it through kbdmap but dropped it (didn't have time then) after seeing how many files there were in /usr/share/syscons/keymaps/

    Was wondering if there is any real benifit for having CTRL-ALT-DEL reboot the machine? My request to the developers would be to disable it in the kernel.

    Shahid



  • Setting the sysctl hw.syscons.kbd_reboot to 0 should do what you want.  Add this to /etc/sysctl.conf and it'll survive reboots.



  • Added the line:

    sysctl hw.syscons.kbd_reboot=0

    at the end of the file /etc/sysctl.conf and it worked like a charm.

    Thanks for the tip.


Locked