[one-users] SLES11 SP2 ( 64bit)

Hans-Joachim Ehlers HansJoachim.Ehlers at eumetsat.int
Tue Jan 15 09:36:53 PST 2013


FYI:
To execute 

!oneadmin at kvmhost1:~> virsh -c qemu:///system nodeinfo

On a SLES11 SP2 system the following needed to be added to the Policy (sh.t) /etc/PolicyKit/PolicyKit.conf between the <config> tags to be able to run:
...
           <match user="oneadmin">
             <return result="yes"/>
           </match>
...

Example:
$ cat /etc/PolicyKit/PolicyKit.conf

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN"
"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd">
<!-- See the manual page PolicyKit.conf(5) for file format -->

<config version="0.1">
           <match user="oneadmin">
             <return result="yes"/>
           </match>
</config>

...........................................

Cheers
Hajo




More information about the Users mailing list