SV-282499r1200477_rule
V-282499
SRG-OS-000114-GPOS-00059
TOSS-05-000265
CAT II
10
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
Update the dconf system databases:
$ sudo dconf update
Verify TOSS 5 disables ability of the user to override the graphical user interface automount setting.
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.
Determine which profile the system database is using by running the following command:
$ sudo grep system-db /etc/dconf/profile/user
system-db:local
Verify the automount setting is locked from nonprivileged user modification using the following command:
Note: The example below is using the database "local" for the system, so the path is "/etc/dconf/db/local.d". Modify this path if using a database other than "local".
$ grep 'automount-open' /etc/dconf/db/local.d/locks/*
/org/gnome/desktop/media-handling/automount-open
If the command does not return at least the example result, this is a finding.
V-282499
False
TOSS-05-000265
Verify TOSS 5 disables ability of the user to override the graphical user interface automount setting.
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.
Determine which profile the system database is using by running the following command:
$ sudo grep system-db /etc/dconf/profile/user
system-db:local
Verify the automount setting is locked from nonprivileged user modification using the following command:
Note: The example below is using the database "local" for the system, so the path is "/etc/dconf/db/local.d". Modify this path if using a database other than "local".
$ grep 'automount-open' /etc/dconf/db/local.d/locks/*
/org/gnome/desktop/media-handling/automount-open
If the command does not return at least the example result, this is a finding.
M
5738