How To Disable Ctrl + Alt + Del On Ubuntu 11

by lifeLinux on August 23, 2011

To disable the reboot action taken by pressing the Ctrl+Alt+Delete key combination, comment out the following line in the file /etc/init/control-alt-delete.conf.

Type the following command

# sudo vi /etc/init/control-alt-delete.conf

Output

# control-alt-delete - emergency keypress handling
#
# This task is run whenever the Control-Alt-Delete key combination is
# pressed, and performs a safe reboot of the machine.

description     "emergency keypress handling"
author          "Scott James Remnant "

start on control-alt-delete

task
exec shutdown -r now "Control-Alt-Delete pressed"

Change the following line

exec shutdown -r now "Control-Alt-Delete pressed"

To

#exec shutdown -r now "Control-Alt-Delete pressed"

Save and exit the file

Related Posts:

Previous post:

Next post: