Rule version TOSS-05-000266 · STIG v1 · 2026-08-20
Allowing autorun commands to execute may introduce malicious code to a system. Configuring this setting prevents users from executing autorun commands.
Verify TOSS 5 disables the graphical user interface autorun function using the following command:
Note: This requirement assumes the use of the TOSS 5 default graphical user interface—the GNOME desktop environment. If the system does not have a graphical user interface installed, this requirement is not applicable.
$ gsettings get org.gnome.desktop.media-handling autorun-never
true
If "autorun-never" is set to "false" and is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.
Configure the GNOME desktop to disable the autorun function on removable media.
The dconf settings can be edited in the /etc/dconf/db/* location.
Update the [org/gnome/desktop/media-handling] section of the "/etc/dconf/db/local.d/00-security-settings" database file and add or update the following lines:
[org/gnome/desktop/media-handling] autorun-never=true
Update the dconf system databases:
$ sudo dconf update