[Pkg-utopia-maintainers] Bug#536490: gnome-system-tools: Asks for root password instead of user password via sudo (root disabled)

Josselin Mouette joss at debian.org
Fri Jul 10 12:55:55 UTC 2009


Le vendredi 10 juillet 2009 à 14:49 +0200, Josselin Mouette a écrit :
> > e.g. Ubuntu does), to allow for a sudo like behaviour.
> > If you replace the exiting configuration in /etc/PolicyKit/PolicyKit.conf with
> > <config version="0.1">
> >     <match user="root">
> >         <return result="yes"/>
> >     </match>
> >     <define_admin_auth group="admin"/>
> > </config>
> > you should get the same behaviour on Debian (assuming Debian also uses the
> > "admin" group for this).

> There is already a hack in the initial configuration of sudo to
> configure the gksu defaults differently in this case. It is probably
> possible to do similar things for policykit.

Thinking about it more, it might be even more trivial:
      * include this snippet unconditionally
      * if the installation selects sudo mode, add the user to the admin
        group
And voilà.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090710/c0d0763f/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list