Re: Fedora 18 Virt-Manager pkla

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29.03.2013 13:31, Frank Murphy wrote:
> How to allow the regular user to start Virt-Manager without
> having to constantly insert password.
> 
> http://libvirt.org/auth.html
> "/etc/polkit-1/localauthority/50-local.d/"
> above dirs seem to be no longer in F18
> 
> there is
> /etc/polkit-1/rules.d/50-default.rules
> 
> I havn't a clue about the JS config required.
> https://bugzilla.redhat.com/show_bug.cgi?id=829883
> (http://davidz25.blogspot.ie/2012/06/authorization-rules-in-polkit.html)
> 
> Any example appreciated.
> 

su -c "groupadd libvirt"
su -c "gpasswd -a <USER> libvirt"
newgrp libvirt

su -c "cat <<'EOF' > /etc/polkit-1/rules.d\
/50-org.libvirt.unix.manage.rules
polkit.addRule(function(action, subject) {
    if (action.id == \"org.libvirt.unix.manage\" &&
        subject.isInGroup(\"libvirt\")) {
        return polkit.Result.YES;
    }
});
EOF"

virt-manager

man 8 polkit - Authorization Rules Examples ;)

poma

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux