Connecting to libvirtd as non-root user on openSUSE 13.1

As a revisit to my previous post on connecting to libvirtd as a non-root user on openSUSE 12.2, the way to do it on openSUSE 13.1 is the same that worked for Marek Goldmann on Fedora 18 (although he used the wheel group).

Create /etc/polkit-1/rules.d/80-libvirt-manage.rules with the following content:

polkit.addRule(function(action, subject) {
    if ( == "org.libvirt.unix.manage" && == true && subject.local == true &&
        subject.isInGroup("libvirt")) {
            return polkit.Result.YES;

And add the user accounts that should be allowed access to the libvirt group.

Leave a comment