[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#382670: debian-installer: Sudo not properly configured



Em Tue, 22 Aug 2006 17:06:48 -0400
Joey Hess <joeyh@debian.org> escreveu:

> > Though, maybe that is easier said than done. Thanks.
> 
> We really can't make that kind of change at install time in d-i.

Can we provide a default gconf setting at install time, though? The
'gksu' application decides whether it should use su or sudo as a
backend by looking at the /apps/gksu/sudo-mode gconf key.

> We could probably get away with calling update-alternatives, if gksu
> and gksudo were changed to both provide an alternative
> (gtk-su-command or something), and if all the necessary desktop files
> could be changed to use the alternative.

Could be done, as well, but I'd prefer the gconf route, since that
doesn't require patching .desktop files. Something that comes to my mind
is providing a debconf key in the gksu packge that would never be asked,
or would be 'low', and that would be used to decide which gconf schema
should be installed as default (using alternatives, I don't know), one
of the schemas would have sudo-mode on by default.

Does that sound overengineered to you Joey? I guess that would work if
we don't have a easy way of setting a default gconf setting at install
time.

I'll get some advice from other GNOME maintainers on this.

Thanks for involving me, I'm interested in helping solve this!

See you,

-- 
Gustavo Noronha Silva <kov@debian.org>
http://people.debian.org/~kov/



Reply to: