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

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to