<!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">
Russell Van Tassell wrote:
<blockquote cite="mid20081115084653.GJ27588@fubar.loosenut.com"
type="cite">
<pre wrap="">On Sat, Nov 15, 2008 at 04:16:27PM +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="">Dear to you,
Sorry again...
I don't quite understanding what different between "NOPASSWD:" and
"(ALL)"...
So, would you mind to give me some hints ?
</pre>
</blockquote>
<pre wrap=""><!---->NOPASSWD - User does not have to enter password
ALL - "ALL" for which this argument applies.
These two arguments are separate... I just removed "NOPASSWD" as my own
personal opinion is that you "avoid at all costs."
To be clear... in my previous example, "ALL" meant "all hosts" and
"run-as all users." Not to confuse you, but "ALL" can just-as-well mean
"ANY" or, in shell terms, "*"</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">USER_NAMES HOSTS_LIST = (RUN_AS_LIST) COMMAND_LIST
manager ALL = (ALL) /usr/sbin/edquota, /usr/bin/quota
</pre>
</blockquote>
</blockquote>
</blockquote>
Hello to you,<br>
<br>
If I want to disable to enter password :<br>
<pre wrap="">manager ALL = (ALL) NOPASSWD: /usr/sbin/edquota, /usr/bin/quota
Is it right format ?
Thanks !
Edward.</pre>
</body>
</html>