|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
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
 
 |   
 
 | 
    | 
  
  
    |   | 
    |