Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 2.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      ssheikh
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • Cry HavokC
        Cry Havok
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • S
          ssheikh
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.