[Engine-devel] how to let engine run scripts with root privilege

------=_Part_335625_1891521110.1369064678119 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit hi, engine run as a normal user, but sometimes we need it to run scripts(start,stop services) which require root privilege. how to do that? thanks. ------=_Part_335625_1891521110.1369064678119 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit <div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>hi,</div><div>engine run as a normal user, but sometimes we need it to run scripts(start,stop services) which require root privilege.</div><div>how to do that?</div><div> </div><div>thanks.</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span> ------=_Part_335625_1891521110.1369064678119--

----- Original Message -----
From: "bigclouds" <bigclouds@163.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, May 20, 2013 6:44:38 PM Subject: [Engine-devel] how to let engine run scripts with root privilege
hi, engine run as a normal user, but sometimes we need it to run scripts(start,stop services) which require root privilege. how to do that? thanks.
Use sudo?

Hi, Do you need to run these scripts on the engine environment? Not VDSM? ----- Original Message -----
From: "bigclouds" <bigclouds@163.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, May 20, 2013 5:44:38 PM Subject: [Engine-devel] how to let engine run scripts with root privilege
hi, engine run as a normal user, but sometimes we need it to run scripts(start,stop services) which require root privilege. how to do that? thanks.
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
participants (3)
-
Alon Bar-Lev
-
bigclouds
-
Laszlo Hornyak