提交 7b21582e 编写于 作者: D Daniel P. Berrange

Fix polkit docs

上级 31b17e6d
Thu May 8 07:51:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
* src/auth.html.in, src/auth.html: Fix policykit config docs
(Cole Robinson)
Wed May 7 14:49:11 EST 2008 Daniel P. Berrange <berrange@redhat.com> Wed May 7 14:49:11 EST 2008 Daniel P. Berrange <berrange@redhat.com>
* src/xend_internal.c, src/xml.c: Disable certain sound functions * src/xend_internal.c, src/xml.c: Disable certain sound functions
......
...@@ -186,12 +186,16 @@ while requiring <code>joe</code> to authenticate with the admin password, ...@@ -186,12 +186,16 @@ while requiring <code>joe</code> to authenticate with the admin password,
would require adding the following snippet to <code>PolicyKit.conf</code>. would require adding the following snippet to <code>PolicyKit.conf</code>.
</p> </p>
<pre> <pre>
&lt;match action="org.libvirt.unix.manage" user="fred"&gt; &lt;match action="org.libvirt.unix.manage"&gt;
&lt;match user="fred"&gt;
&lt;return result="yes"/&gt; &lt;return result="yes"/&gt;
&lt;/match&gt; &lt;/match&gt;
&lt;match action="org.libvirt.unix.manage" user="joe"&gt; &lt;/match&gt;
&lt;match action="org.libvirt.unix.manage"&gt;
&lt;match user="joe"&gt;
&lt;return result="auth_admin"/&gt; &lt;return result="auth_admin"/&gt;
&lt;/match&gt; &lt;/match&gt;
&lt;/match&gt;
</pre> </pre>
<h3> <h3>
<a name="ACL_server_username" id="ACL_server_username">Username/password auth</a> <a name="ACL_server_username" id="ACL_server_username">Username/password auth</a>
......
...@@ -77,12 +77,16 @@ while requiring <code>joe</code> to authenticate with the admin password, ...@@ -77,12 +77,16 @@ while requiring <code>joe</code> to authenticate with the admin password,
would require adding the following snippet to <code>PolicyKit.conf</code>. would require adding the following snippet to <code>PolicyKit.conf</code>.
</p> </p>
<pre> <pre>
&lt;match action="org.libvirt.unix.manage" user="fred"&gt; &lt;match action="org.libvirt.unix.manage"&gt;
&lt;match user="fred"&gt;
&lt;return result="yes"/&gt; &lt;return result="yes"/&gt;
&lt;/match&gt; &lt;/match&gt;
&lt;match action="org.libvirt.unix.manage" user="joe"&gt; &lt;/match&gt;
&lt;match action="org.libvirt.unix.manage"&gt;
&lt;match user="joe"&gt;
&lt;return result="auth_admin"/&gt; &lt;return result="auth_admin"/&gt;
&lt;/match&gt; &lt;/match&gt;
&lt;/match&gt;
</pre> </pre>
<h3><a name="ACL_server_username">Username/password auth</a></h3> <h3><a name="ACL_server_username">Username/password auth</a></h3>
<p> <p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册