RHEL-09-271025 - RHEL 9 must prevent a user from overriding the disabling of the graphical user interface automount function.

Information

A nonprivileged account is any operating system account with authorizations of a nonprivileged user.

Satisfies: SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163, SRG-OS-000480-GPOS-00227

Solution

Configure the GNOME desktop to not allow a user to change the setting that disables automated mounting of 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/automount-open

Then update the dconf system databases:

$ sudo dconf update

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/U_RHEL_9_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000366, CCI|CCI-000778, CCI|CCI-001958, Rule-ID|SV-258015r926032_rule, STIG-ID|RHEL-09-271025, Vuln-ID|V-258015

Plugin: Unix

Control ID: c3419afe724ad886b2b96be13ced1ba77b9ab6697625c956bcc1babcde3a7962