AlmaLinux OS 9 must disable the graphical user interface automount function unless required.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-269377 | ALMA-09-034890 | SV-269377r1050260_rule | CCI-001958 | medium |
| Description | ||||
| Automatically mounting file systems permits easy introduction of unknown devices, thereby facilitating malicious activity. Satisfies: SRG-OS-000378-GPOS-00163, SRG-OS-000114-GPOS-00059 | ||||
| STIG | Date | |||
| CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide | 2025-05-22 | |||
Details
Check Text (C-269377r1050260_chk)
Note: This requirement assumes the use of the AlmaLinux OS 9 default graphical user interface, the GNOME desktop environment. If the system does not have any graphical user interface installed, this requirement is Not Applicable.
Verify AlmaLinux OS 9 disables the graphical user interface automount function with the following command:
$ gsettings get org.gnome.desktop.media-handling automount-open
false
If "automount-open" is set to "true", and is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding.
Fix Text (F-73309r1048508_fix)
Configure the GNOME desktop to disable automated mounting of 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]
automount-open=false
Then update the dconf system databases:
$ dconf update