summaryrefslogtreecommitdiffstats
path: root/openlmi-mof-register
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2013-12-19 16:19:22 +0100
committerJan Safranek <jsafrane@redhat.com>2013-12-19 16:19:22 +0100
commitb435fc9d578e1b63711d72aeb757ec640ae1c8cd (patch)
treed4808bc3a113b310fada358439cd13bb66d9fcac /openlmi-mof-register
parentb6c9e8d105072b5c373cb25590dfc7f5054ed8a9 (diff)
downloadopenlmi-providers-b435fc9d578e1b63711d72aeb757ec640ae1c8cd.zip
openlmi-providers-b435fc9d578e1b63711d72aeb757ec640ae1c8cd.tar.gz
openlmi-providers-b435fc9d578e1b63711d72aeb757ec640ae1c8cd.tar.xz
Run providers as 'root' instead of the remote user (usually 'pegasus').
Diffstat (limited to 'openlmi-mof-register')
-rwxr-xr-xopenlmi-mof-register1
1 files changed, 1 insertions, 0 deletions
diff --git a/openlmi-mof-register b/openlmi-mof-register
index 0e31eb7..f1a0f67 100755
--- a/openlmi-mof-register
+++ b/openlmi-mof-register
@@ -154,6 +154,7 @@ def define_module(location, group, version):
InterfaceType = "CMPI";
InterfaceVersion = "2.0.0";
ModuleGroupName = "%(group)s";
+ UserContext = 5; /* the provider is invoked in the user context of the CIM Server itself */
};
""" % { 'location': location, 'group': group, 'version': version }