Hello Tharsan,<div><br></div><div>For me the following works:</div><div><br></div><div>``` </div><div>User_Alias CLOUDADMINS = oneadmin, rosa<br>Defaults!CLOUDCOMM        !requiretty<br>CLOUDADMINS   ALL = (ALL)  NOPASSWD: CLOUDCOMM<br>

</div><div>```</div><div><br></div><div>Cheers and Goodwill,</div><div>v</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 7:40 PM, Tharsan Bhuvanendran <span dir="ltr"><<a href="mailto:tbhuvanendran@totsy.com" target="_blank">tbhuvanendran@totsy.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jaime,<div><br></div><div>Thanks so much for your quick response! I've tried your suggestion, with the same result. However, the following warning now appears instead:</div>

<div><br></div><div><pre style="font-size:13px">Mon Nov 12 17:33:23 2012 [VMM][I]: sudo: no tty present and no askpass program specified</pre></div><div><br></div><div>I've also added a NOPASSWD clause for the oneadmin user, so that it won't ask for a password for sudo.</div>

<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Tharsan</div></font></span><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 12, 2012 at 12:17 PM, Jaime Melis <span dir="ltr"><<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_extra">Hi Tharsan</div><div class="gmail_extra">


<br></div><div class="gmail_extra">I think the problem is:</div><div><div class="gmail_extra">Mon Nov 12 16:14:01 2012 [VMM][I]: sudo: sorry, you must have a tty to run sudo</div>

<div class="gmail_extra"><br></div></div><div class="gmail_extra">Can you try and remove the requiretty directive from /etc/sudoers?</div><div class="gmail_extra"><br></div><div class="gmail_extra">cheers,<br>Jaime<div>
<br><br><div class="gmail_quote">

On Mon, Nov 12, 2012 at 6:03 PM, Tharsan Bhuvanendran <span dir="ltr"><<a href="mailto:tbhuvanendran@totsy.com" target="_blank">tbhuvanendran@totsy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




Mon Nov 12 16:14:01 2012 [VMM][I]: sudo: sorry, you must have a tty to run sudo
</blockquote></div><br></div></div><span><font color="#888888"><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>





</font></span></blockquote></div><br><br>
</div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>w: <a href="http://databus.ro/blog" target="_blank">http://databus.ro/blog</a><div>in: <a href="http://www.linkedin.com/pub/valentin-bud/9/881/830" target="_blank">http://www.linkedin.com/pub/valentin-bud/9/881/830</a></div>

<div>t: <a href="https://twitter.com/valentinbud" target="_blank">https://twitter.com/valentinbud</a></div><br>
</div>