All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Goirand <zigo@debian.org>
To: xen-devel <xen-devel@lists.xensource.com>, xen-users@lists.xensource.com
Subject: Re: [Xen-devel] Re: start up script for "xentop"
Date: Tue, 15 Feb 2011 16:14:40 +0800	[thread overview]
Message-ID: <4D5A35F0.7010809@debian.org> (raw)
In-Reply-To: <AANLkTinmzMKeOUA-82tVimX000XxOMXmnqdkfsMvYe4z@mail.gmail.com>

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

      parent reply	other threads:[~2011-02-15  8:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-11 17:17 start up script for "xentop" Gautam
2011-02-11 20:55 ` [Xen-users] " Florian Heigl
2011-02-12 15:00   ` Gautam
2011-02-12 16:49     ` Peter Phaal
2011-02-15  8:14     ` Thomas Goirand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5A35F0.7010809@debian.org \
    --to=zigo@debian.org \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.