<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Michael Biebl a écrit :
<blockquote cite="mid:4A57358F.9030802@debian.org" type="cite">
  <pre wrap="">severity 536490 wishlist
retitle 536490 enable sudo like behaviour when system uses disabled root account
thanks

Josselin Mouette wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">reassign 536490 policykit
thanks

Le vendredi 10 juillet 2009 à 12:41 +0200, Julien BEHEM a écrit :
    </pre>
    <blockquote type="cite">
      <pre wrap="">When launching any gnome-system-tools utility and clicking on the
unlock button, it asks for root password but root account is disabled
and system is using sudo (working well in console, sudo is well
configured, and sudo-mode is set to true for gksu in gconf editor).
I saw an old bugreport of 2008 (number 412982) describing maybe the
same problem and solved by upgrading to 2.16 or 2.17 version, but i'm
using 2.22...
      </pre>
    </blockquote>
    <pre wrap="">This is a current limitation of PolicyKit.

    </pre>
  </blockquote>
  <pre wrap=""><!---->
That is not really a limitation, but a configuration issue. PK can be setup (as
e.g. Ubuntu does), to allow for a sudo like behaviour.
If you replace the exiting configuration in /etc/PolicyKit/PolicyKit.conf with
&lt;config version="0.1"&gt;
    &lt;match user="root"&gt;
        &lt;return result="yes"/&gt;
    &lt;/match&gt;
    &lt;define_admin_auth group="admin"/&gt;
&lt;/config&gt;
you should get the same behaviour on Debian (assuming Debian also uses the
"admin" group for this).
  </pre>
</blockquote>
This does not work. <br>
When I click on the Unlock button in any admin tool, instead of getting
the prompt for root password, I get an error after few seconds of
timeout : Authentication impossible (or something translated like that).<br>
<br>
Regards,<br>
<br>
<pre class="moz-signature" cols="72">-- 
Cordialement,

Julien BEHEM

<a class="moz-txt-link-abbreviated" href="mailto:julien.behem@lanproject.net">julien.behem@lanproject.net</a></pre>
</body>
</html>