Skip to content

Commit

Permalink
Merge pull request #2820 from redhatrises/dconf_gnome_fixes
Browse files Browse the repository at this point in the history
Fix dconf_gnome_disable_geolocation script and add missing dconf remedation scripts
  • Loading branch information
yuumasato authored May 2, 2018
2 parents d8c1824 + d70e481 commit 434e4d2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shared/fixes/bash/dconf_gnome_disable_geolocation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
include_dconf_settings

dconf_settings 'org/gnome/system/location' 'enabled' 'false' 'local.d' '00-security-settings'
dconf_settings 'org/gnome/clocks' 'geolocation' 'false' 'local.d' '00-security-settings'
dconf_lock 'org/gnome/system/location' 'enabled' 'local.d' '00-security-settings-lock'
dconf_lock 'org/gnome/clocks' 'geolocation' 'local.d' '00-security-settings-lock'
7 changes: 7 additions & 0 deletions shared/fixes/bash/dconf_gnome_disable_wifi_create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# platform = Red Hat Enterprise Linux 7, multi_platform_fedora
. /usr/share/scap-security-guide/remediation_functions

include_dconf_settings

dconf_settings 'org/gnome/nm-applet' 'disable-wifi-create' 'true' 'local.d' '00-security-settings'
dconf_lock 'org/gnome/nm-applet' 'disable-wifi-create' 'local.d' '00-security-settings-lock'
7 changes: 7 additions & 0 deletions shared/fixes/bash/dconf_gnome_disable_wifi_notification.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# platform = Red Hat Enterprise Linux 7, multi_platform_fedora
. /usr/share/scap-security-guide/remediation_functions

include_dconf_settings

dconf_settings 'org/gnome/nm-applet' 'suppress-wireless-networks-available' 'true' 'local.d' '00-security-settings'
dconf_lock 'org/gnome/nm-applet' 'suppress-wireless-networks-available' 'local.d' '00-security-settings-lock'

0 comments on commit 434e4d2

Please sign in to comment.