≡ Menu

Ubuntu Linux Disable control-alt-delete [CTRL-ALT-DEL] Emergency Keypress Handling

Q. How do I delete control-alt-delete emergency keypress handling to improve security of my Ubuntu Linux server?

A. When you hit the Control-Alt-Delete key combination system get rebooted. This operation is controlled via a special file located at /etc/event.d/control-alt-delete directory. Simply open this file using a text editor:
$ sudo vi /etc/event.d/control-alt-delete
$ sudo gedit /etc/event.d/control-alt-delete
Find line that read as follows:
exec /sbin/shutdown -r now "Control-Alt-Delete pressed"
delete configuration line or comment out line by prefixing # symob:
#exec /sbin/shutdown -r now "Control-Alt-Delete pressed"
Save and close the file.

Share this tutorial on:

Like this? Follow us on Twitter OR support us by using Patreon

{ 4 comments… add one }
  • M November 21, 2008, 10:45 am

    Its not working for live cd (ubuntu 8.1)
    Tried many options.. nothing works out

  • V.Balaviswanathan April 23, 2009, 2:42 pm

    Thanks a lot for your tips……It was helpful

  • V.Balaviswanathan April 24, 2009, 5:58 pm

    If anyone helps me to clear this doubt, I will be grateful to them…….

    How to make my USB hard disk mount on my ubuntu machine(all) and copy those files onto the local hard drive……Please help

    Thank You


  • Enriqueta Schryver October 4, 2011, 12:02 pm

    That was a impressive material. I enjoyed it very much. Enriqueta Schryver

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , , , , , , , , , ,