Hello Tharsan, For me the following works:
``` User_Alias CLOUDADMINS = oneadmin, rosa Defaults!CLOUDCOMM !requiretty CLOUDADMINS ALL = (ALL) NOPASSWD: CLOUDCOMM ``` Cheers and Goodwill, v On Mon, Nov 12, 2012 at 7:40 PM, Tharsan Bhuvanendran < [email protected]> wrote: > Hi Jaime, > > Thanks so much for your quick response! I've tried your suggestion, with > the same result. However, the following warning now appears instead: > > Mon Nov 12 17:33:23 2012 [VMM][I]: sudo: no tty present and no askpass > program specified > > > I've also added a NOPASSWD clause for the oneadmin user, so that it won't > ask for a password for sudo. > > Tharsan > > > On Mon, Nov 12, 2012 at 12:17 PM, Jaime Melis <[email protected]>wrote: > >> Hi Tharsan >> >> I think the problem is: >> Mon Nov 12 16:14:01 2012 [VMM][I]: sudo: sorry, you must have a tty to >> run sudo >> >> Can you try and remove the requiretty directive from /etc/sudoers? >> >> cheers, >> Jaime >> >> >> On Mon, Nov 12, 2012 at 6:03 PM, Tharsan Bhuvanendran < >> [email protected]> wrote: >> >>> Mon Nov 12 16:14:01 2012 [VMM][I]: sudo: sorry, you must have a tty to >>> run sudo >> >> >> >> >> -- >> Jaime Melis >> Project Engineer >> OpenNebula - The Open Source Toolkit for Cloud Computing >> www.OpenNebula.org | [email protected] >> > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- w: http://databus.ro/blog in: http://www.linkedin.com/pub/valentin-bud/9/881/830 t: https://twitter.com/valentinbud
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
