%BOOK_ENTITIES; ]>
Access to libvirt without root privileges By default, only root can administer virtual machines using libvirt. Use these instructions to create a special group whose members will be able to use libvirt.
Required Ingredients Package 'polkit' Package 'libvirt'
Create polkit policy for libvirt Create polkit policy for libvirt: touch /etc/polkit-1/localauthority/50-local.d/50-org.libvirt-group-access.pkla Open the policy file in an editor. $EDITOR /etc/polkit-1/localauthority/50-local.d/50-org.libvirt-group-access.pkla Paste in the rule below. [libvirt group Management Access] Identity=unix-group:libvirt Action=org.libvirt.unix.manage ResultAny=yes ResultInactive=yes ResultActive=yes Create group for users that can access libvirt without root privileges: groupadd libvirt Add your users to the special group: usermod -a -G libvirt user_name
References Libvirt policykit documentation