How to disable Ctrl+Alt+Del restarting in CentOS

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

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

comment the line

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

:wq (save and exit)

that should do the trick!!! 
Cheers!!!

Comments

Manivel said…
Good.Its really helpful.

Cheers..
Manivel

Popular posts from this blog

HA-Proxy setup for Openstack Services

Openstack to Cloudstack Template Migration

Openstack Swift HA with HAproxy