Description
org.gnome.settings-daemon.plugins.media-keys logout binds Ctrl-Alt-Del to the log out
dialog, which also offers restart and power off. Setting it to [''] removes the binding;
the key is set in the system dconf database local and locked.
This only concerns the GNOME shortcut. Ctrl-Alt-Del on a text console is handled by systemd
(ctrl-alt-del.target).
Rationale
Ctrl-Alt-Del is pressed by reflex on machines used alongside Windows, and on a shared console it gives anyone a quick path to restarting the machine. Removing the shortcut avoids accidental or opportunistic restarts of the workstation.
Impact
Users log out or power off from the system menu. Ctrl-Alt-Del does nothing in GNOME.
Applies when
Detected: when: GNOME desktop is installed A scanner reports the control not applicable when one is false.
Setting
| Location | /etc/dconf/db/local.d/, key /org/gnome/settings-daemon/plugins/media-keys/logout |
| Default | ['<Control><Alt>Delete'] |
| Recommended | [''], locked |
Audit
dconf read /org/gnome/settings-daemon/plugins/media-keys/logoutmust print[''].- The key must be listed in a file of
/etc/dconf/db/local.d/locks/.
Automated: every check must pass. Scanners report each check by its id.
logout-key
No GNOME shortcut opens the log out dialog.
key: /org/gnome/settings-daemon/plugins/media-keys/logout
value: '['''']'
Remediation
- Make sure
/etc/dconf/profile/usercontainsuser-db:userandsystem-db:local. - Create
/etc/dconf/db/local.d/00-ctrl-alt-del:[org/gnome/settings-daemon/plugins/media-keys] logout=[''] - List
/org/gnome/settings-daemon/plugins/media-keys/logoutin/etc/dconf/db/local.d/locks/00-ctrl-alt-deland rundconf update.
| Restart | users must log in again |
| Disruption | none |
Rollback
Delete the files written in /etc/dconf/db/local.d/ and its locks/ directory, then run
dconf update.
logout-key
Generated from check logout-key: the engine writes the fix for every output, it sets the expected value and the check runs again after.
Each release turns these fixes into remediate.sh and an Ansible role per profile: dry run by default, a fix runs only when its check fails.
References
- gnome-settings-daemon - media-keys schema The GNOME Project, vendor-doc, accessed 2026-10-18
- GNOME System Administration Guide - Lock down specific settings The GNOME Project, vendor-doc, accessed 2026-10-18
Mappings
| Framework | ID | Relation |
|---|---|---|
| NIST SP 800-53 Rev. 55.1.1 | CM-6 | related |
How this control relates to the other framework's: equivalent, stricter, looser, partial or related.
Threats mitigated
| Taxonomy | ID |
|---|---|
| MITRE ATT&CK | T1529 |
People and lifecycle
| Authors |
|
| Verified | 2026-10-18 by Sn0wAlice on 12, Proxmox VM with minimal GNOME (gdm3, gnome-shell), Debian 12 genericcloud image, kernel 6.1.0-54-cloud-amd64. Generated dconf check and fix (desktop-hardened) on GNOME; value and lock confirmed with gsettings as a user; state kept after reboot. |
| Verified | 2026-10-18 by Sn0wAlice on 13, Proxmox VM with minimal GNOME (gdm3, gnome-shell), Debian 13 genericcloud image, kernel 6.12.113+deb13-cloud-amd64. Generated dconf check and fix (desktop-hardened) on GNOME; value and lock confirmed with gsettings as a user; state kept after reboot. |
| Introduced in | v0.1.0 |
| Created, updated | 2026-10-18, 2026-10-18 |
| Translations | fr |