Wednesday, March 14, 2012

How to disable Ctrl+Alt+Del restarting in Ubuntu

In Ubuntu, the action taken when Ctrl+Alt+Del pressed is based on the configuration file located in "/etc/event.d/control-alt-delete"
Just disable the line which specifies the restart action.


sudo vi /etc/event.d/control-alt-delete

comment the line

#exec /sbin/shutdown -r now “Control-Alt-Delete pressed”

:wq (save and exit)

that should do the trick!!!

No comments: