Pressing Ctrl+Alt+Del on the keyboard causes a host to lose connection. What should I do?
Symptom
The host loses connection. The message log shows a virtual USB device being attached and a Received SIGINT signal.
Cause
The Ctrl+Alt+Del key combination was pressed on the host.
Solution
-
Modify the system configuration file to disable the Ctrl+Alt+Del key combination.
-
Log in to the host console as root.
-
Run
vi /etc/systemd/system/ctrl-alt-del.targetto open the ctrl-alt-del.target file in edit mode. -
Add the following content to the ctrl-alt-del.target file:
[Unit] Description=Disable Ctrl-Alt-Del [Service] ExecStart=/bin/true Type=oneshot [Install] WantedBy=multi-user.target -
Save the changes and exit the file editor.
-
Run
systemctl daemon-reloadto reload the systemd configuration. -
Run
systemctl mask ctrl-alt-del.targetto disable ctrl-alt-del.target. -
Restart the system for the changes to take effect.
Restarting may affect running services. Assess the impact before proceeding.
-
-
Security training: Train operations personnel not to use the Ctrl+Alt+Del key combination to prevent accidental host disconnection.
-
Physical protection: Secure the host by installing cabinet door locks, security cameras, and other measures to prevent unauthorized access.