[Libguestfs] [libvirt] Proposed libguestfs API for implementing libvirt virConnectOpenAuth

Cole Robinson crobinso at redhat.com
Mon Oct 15 15:23:04 UTC 2012


On 10/15/2012 04:01 AM, Richard W.M. Jones wrote:
> 
> From 9eea45e80ad80283f1a89f792bcf0c174818f4a2 Mon Sep 17 00:00:00 2001
> From: "Richard W.M. Jones" <rjones at redhat.com>
> Date: Mon, 15 Oct 2012 09:01:13 +0100
> Subject: [PATCH] daemon: Make the default PolicyKit policy auth_admin_keep.
> 
> ---
>  daemon/libvirtd.policy.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/daemon/libvirtd.policy.in b/daemon/libvirtd.policy.in
> index 000c17e..df42e5f 100644
> --- a/daemon/libvirtd.policy.in
> +++ b/daemon/libvirtd.policy.in
> @@ -31,8 +31,8 @@ version 2. See COPYING for details.
>        <defaults>
>          <!-- Any program can use libvirt in read/write mode if they
>               provide the root password -->
> -        <allow_any>auth_admin</allow_any>
> -        <allow_inactive>auth_admin</allow_inactive>
> +        <allow_any>@authaction@</allow_any>
> +        <allow_inactive>@authaction@</allow_inactive>
>          <allow_active>@authaction@</allow_active>
>        </defaults>
>      </action>

ACK

- Cole




More information about the Libguestfs mailing list