AlmaLinux OS 9 must prevent a user from overriding the disabling of the graphical user interface autorun function.
An XCCDF Rule
Description
Automatically mounting filesystems and running applications upon insertion of a device facilitates malicious activity. Satisfies: SRG-OS-000378-GPOS-00163, SRG-OS-000114-GPOS-00059
- ID
- SV-269379r1050262_rule
- Version
- ALMA-09-035110
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure the GNOME desktop to not allow a user to change the setting that disables autorun on removable media.
Add the following line to "/etc/dconf/db/local.d/locks/00-security-settings-lock" to prevent user modification:
/org/gnome/desktop/media-handling/autorun-never