[sudo-users] [Fwd: Quota function]
edwardspl at ita.org.mo
edwardspl at ita.org.mo
Sat Nov 15 14:49:56 UTC 2008
Russell Van Tassell wrote:
>On Sat, Nov 15, 2008 at 04:16:27PM +0800, edwardspl at ita.org.mo wrote:
>
>
>>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 ?
>>
>>
>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, "*"
>
>>>USER_NAMES HOSTS_LIST = (RUN_AS_LIST) COMMAND_LIST
>>>manager ALL = (ALL) /usr/sbin/edquota, /usr/bin/quota
>>>
>>>
Hello to you,
If I want to disable to enter password :
manager ALL = (ALL) NOPASSWD: /usr/sbin/edquota, /usr/bin/quota
Is it right format ?
Thanks !
Edward.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20081115/2d2ac2f7/attachment-0001.html
More information about the users
mailing list