Portal Home > Knowledgebase > VPS/Dedicated Server > Security > How to disable Ctrl+Alt+Del restarting in CentOS
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.confcomment the line#exec /sbin/shutdown -r now “Control-Alt-Delete pressed”
:wq (save and exit)
Change The SSH Port (Views: 1534)
Disable Root User SSH Logins (Views: 1499)
Install CSF (Config Server Firewall) (Views: 1535)
Enable Brute Force Detection (Views: 1497)
Install Chkrootkit on Linux Server (Views: 1536)