From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Goirand Subject: Re: [Xen-devel] Re: start up script for "xentop" Date: Tue, 15 Feb 2011 16:14:40 +0800 Message-ID: <4D5A35F0.7010809@debian.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-devel , xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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