<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=Big5" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear to you,<br>
<br>
Sorry again...<br>
I don't quite understanding what different between "NOPASSWD:" and
"(ALL)"...<br>
So, would you mind to give me some hints ?<br>
<br>
Thanks !<br>
<br>
Edward.<br>
<br>
Russell Van Tassell wrote:
<blockquote cite="mid20081115040039.GH27588@fubar.loosenut.com"
 type="cite">
  <pre wrap="">On Sat, Nov 15, 2008 at 11:07:25AM +0800, <a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Russell Van Tassell wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">On Fri, Nov 14, 2008 at 09:40:26PM +0800, <a class="moz-txt-link-abbreviated" href="mailto:edwardspl@ita.org.mo">edwardspl@ita.org.mo</a> wrote:
 

      </pre>
      <blockquote type="cite">
        <pre wrap="">For running with visudo :

HOST = NOPASSWD:    /usr/sbin/edquota, /usr/bin/quota
        </pre>
      </blockquote>
      <pre wrap="">This looks wrong... remember the format is something more like:

USER_NAMES HOSTS_LIST = (RUN_AS_LIST) COMMAND_LIST

So I suspect you want something closer to:

manager ALL = (ALL) /usr/sbin/edquota, /usr/bin/quota
      </pre>
    </blockquote>
    <pre wrap="">Hello to you,

Sorry, what means about "ALL" ?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Edward... simply substitute the parameters vertically...

USER_NAMES HOSTS_LIST = (RUN_AS_LIST) COMMAND_LIST
manager    ALL        = (ALL)         /usr/sbin/edquota, /usr/bin/quota

There's more detail here:

        <a class="moz-txt-link-freetext" href="http://www.sudo.ws/sudo/man/sudoers.html">http://www.sudo.ws/sudo/man/sudoers.html</a>
  </pre>
</blockquote>
</body>
</html>