Re: Using gconftool-2 for another user...
Le lundi 04 décembre 2006 à 11:06 +0100, Loïc Minier a écrit :
> On Mon, Dec 04, 2006, David BERCOT wrote:
> > I'd like to set values in gconf tree, from the root account to another
> > account...
>
> Either set "--config-source" to the home dir (/home/$user/.gconf, see
> /etc/gconf/2/path) and run gconftool as root, then chown+chmod the
> files; or simply "su - $user" and run gconftool.
I've tried --config-source=/home/$user/.gconf and it says :
# gconftool-2 --config-source=/home/david.bercot/.gconf --get
"/apps/evolution/mail/accounts"
L'accès a(ux) source(s) de configuration a échoué : Impossible de
résoudre l'adresse de la source de configuration: Impossible de résoudre
l'adresse de la source de configuration: Adresse incorrecte
« /home/david.bercot/.gconf »
> If you wish to set settings for all users, you should write them as
> root into /etc/gconf instead, see /etc/gconf/2/path.
Yes, it would be a good solution. But if a user has the same key, which
one will be the last : the /etc/gconf one or the /home/$user/.gconf
one ?
Thank you.
David.
Reply to: