Hello all,
I have a need to make some settings for security compliance on the GUI.
I have been directed to do the following commands:
gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ --type bool \ --set /apps/gnome-screensaver/idle_activation_enabled true
gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ --type int \ --set /apps/gnome-screensaver/idle_delay 15
gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ --type bool \ --set /apps/gnome-screensaver/lock_enabled true
gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ --type string \ --set /apps/gnome-screensaver/mode blank-only
However, these commands don't appear to be working. The scans pick them right back up like I didn't even attempt to make any changes. Someone told me that when running changes on a system that involve GUI/Gconf2 that I need to execute the same commands, but prefix them with -- "sudo -u gdm " but that too did not work.
I also saw an example of the gconftool-2 commands and they showed an "=" in between the --config-source and the xml~~~~ part of the syntax; still... nothing.
Can someone please provide some help in this matter?
[NEVER RESOLVED] Using gconftool-2 to set attributes
- warron.french
- Posts: 616
- Joined: 2014/03/27 20:21:58
[NEVER RESOLVED] Using gconftool-2 to set attributes
Last edited by warron.french on 2015/12/09 18:09:37, edited 1 time in total.
Thanks,
War
War
Re: Using gconftool-2 to set attributes
Try using gconf-editor to navigate to that path directly and see what the settings are.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
- warron.french
- Posts: 616
- Joined: 2014/03/27 20:21:58
Re: Using gconftool-2 to set attributes
TrevorH, doesn't the use of gconf-editor require GUI desktop?
Thanks,
War
War
- warron.french
- Posts: 616
- Joined: 2014/03/27 20:21:58
Re: Using gconftool-2 to set attributes
TrevorH, thanks, the tool wasn't on my machine but I got it added.
That tool was pretty useful, but I didn't look it addressed my issues properly. The scanning tool may have some false-positives, but I don't know for sure with respect to these 4 commands that need to produce the result; or using the gconf-editor tool.
Any ideas?
That tool was pretty useful, but I didn't look it addressed my issues properly. The scanning tool may have some false-positives, but I don't know for sure with respect to these 4 commands that need to produce the result; or using the gconf-editor tool.
Any ideas?
Thanks,
War
War