[libvirt] [PATCH] polkit: Allow password-less access for 'libvirt' group

Eric Blake eblake at redhat.com
Wed Apr 29 02:35:21 UTC 2015

On 04/28/2015 05:51 PM, Cole Robinson wrote:
> Many users, who admin their own machines, want to be able to access
> system libvirtd via tools like virt-manager without having to enter
> a root password. Just google 'virt-manager without password' and
> you'll find many hits. I've read at least 5 blog posts over the years
> describing slightly different ways of achieving this goal.
> Let's finally add official support for this.
> Install a polkit-1 rules file granting password-less auth for any user
> in the new 'libvirt' group. Create the group on RPM install
> https://bugzilla.redhat.com/show_bug.cgi?id=957300
> ---
>  daemon/50-libvirt.rules |  9 +++++++++

Let's just name it daemon/libvirt.rules in git, and only rename it as
part of installation (to make it a bit more obvious that someone could
rename it to something other than 50- if they want a different priority).

>  daemon/Makefile.am      | 13 +++++++++++++
>  libvirt.spec.in         | 15 +++++++++++++--
>  3 files changed, 35 insertions(+), 2 deletions(-)
>  create mode 100644 daemon/50-libvirt.rules

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150428/24c7856d/attachment-0001.sig>

More information about the libvir-list mailing list