Operations 3 min read

How to Configure the Ctrl+Alt+Del Shortcut on Linux

This article explains the Linux ctrlaltdel command, its hard and soft reset options, usage syntax, example commands, and provides step‑by‑step instructions for disabling the Ctrl+Alt+Del shortcut to prevent accidental server reboots.

Open Source Linux
Open Source Linux
Open Source Linux
How to Configure the Ctrl+Alt+Del Shortcut on Linux

ctrlaltdel: Configuring the Ctrl+Alt+Del Key Combination

Function Description

The ctrlaltdel command sets the behavior of the Ctrl+Alt+Del key combination.

It supports two actions: hard (hard reset, immediate reboot without sync) and soft (soft reset, sends SIGINT to the init process, which must support it).

Command Syntax

ctrlaltdel [hard]|[soft]

Option Meanings

hard : Hard reset; pressing Ctrl+Alt+Del triggers an immediate system reboot without invoking sync or other shutdown procedures.

soft : Soft reset; pressing Ctrl+Alt+Del sends a SIGINT (interrupt) signal to the init process, which then handles the shutdown.

-h : Show help and exit.

-V : Display version information and exit.

Examples

Example 1: Set hard reset

# ctrlaltdel hard

Example 2: Use soft reset

# ctrlaltdel soft

Example 3: Show version

# ctrlaltdel -V

Additional Knowledge: Disabling Ctrl+Alt+Del on Linux

Problem

In operations, accidental pressing of Ctrl+Alt+Del can cause an unwanted server reboot.

Solution

Check /etc/inittab to see the configuration for Ctrl+Alt+Del.

Inspect the properties of the target file, e.g., /usr/lib/systemd/system/ctrl-alt-del.target.

Remove the symbolic link to the target.

Reload the init daemon configuration with init q.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

LinuxSystem Administrationctrlaltdelhard resetsoft reset
Open Source Linux
Written by

Open Source Linux

Focused on sharing Linux/Unix content, covering fundamentals, system development, network programming, automation/operations, cloud computing, and related professional knowledge.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.