SV-269379r1050262_rule
V-269379
SRG-OS-000378-GPOS-00163
ALMA-09-035110
CAT II
10
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
Then update the dconf system databases:
$ dconf update
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 ability of the user to override the graphical user interface autorun setting.
Determine which profile the system database is using with the following command:
$ grep system-db /etc/dconf/profile/user
system-db:local
Check that the automount setting is locked from nonprivileged user modification with the following command:
Note: The example below is using the database "local" for the system, so the path is "/etc/dconf/db/local.d". This path must be modified if a database other than "local" is being used.
$ grep 'autorun-never' /etc/dconf/db/local.d/locks/*
/org/gnome/desktop/media-handling/autorun-never
If the command does not return at least the example result, this is a finding.
V-269379
False
ALMA-09-035110
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 ability of the user to override the graphical user interface autorun setting.
Determine which profile the system database is using with the following command:
$ grep system-db /etc/dconf/profile/user
system-db:local
Check that the automount setting is locked from nonprivileged user modification with the following command:
Note: The example below is using the database "local" for the system, so the path is "/etc/dconf/db/local.d". This path must be modified if a database other than "local" is being used.
$ grep 'autorun-never' /etc/dconf/db/local.d/locks/*
/org/gnome/desktop/media-handling/autorun-never
If the command does not return at least the example result, this is a finding.
M
5664