[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: [Xen-users] start up script for "xentop"



On 02/12/2011 11:00 PM, Gautam wrote:
>
> Thanks Florian,
> Sudo will work.
> but i don't want to give the password.
> i wrote a script which uses *xentop* command.
You don't need to give any password if you setup /etc/sudoers correctly.
Something like that will do:

%xenusers       ALL= NOPASSWD: /usr/sbin/xm top

In this case %xenusers is a group. Just let every xm top users join this
group for example.

Thomas


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.