'non-root' Tag

  • Getting rid of NetworkManager authorization prompts

    October 7, 2018

    Not exactly rocket science but since it took me a while to find out I’ll keep this here for future reference: to get rid of NetworkManager authorization prompts in openSUSE Leap 15.0 and similar distros, create /etc/polkit-1/rules.d/80-networkmanager-allow-users-group.rules: polkit.addRule(function(action, subject) { if (/^org\.freedesktop\.NetworkManager\./.test(action.id) && subject.local && subject.active && subject.isInGroup(“users”)) { return polkit.Result.YES; } });

  • Connecting to libvirtd as non-root user on openSUSE 13.1

    April 6, 2014

    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 (action.id == […]

  • Connecting to libvirtd as non-root user on openSUSE 12.2

    February 7, 2013

    An old bug still bites one trying to connect to libvirtd/, eg. when starting virt-manager. By default, a password prompt asking for the root password appears. You might think that virt-manager would behave like VirtualBox and adding yourself to the libvirt group would suffice but to no avail. While that group exists, in the default […]

 
Copyright © 2020 by Pieter Hollants. All rights reserved. - Legal notices & Privacy policy