[sudo-users] [Fwd: Quota function]
edwardspl at ita.org.mo
edwardspl at ita.org.mo
Sat Nov 15 08:16:27 UTC 2008
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 ?
Thanks !
Edward.
Russell Van Tassell wrote:
>On Sat, Nov 15, 2008 at 11:07:25AM +0800, edwardspl at ita.org.mo wrote:
>
>
>>Russell Van Tassell wrote:
>>
>>
>>
>>>On Fri, Nov 14, 2008 at 09:40:26PM +0800, edwardspl at ita.org.mo wrote:
>>>
>>>
>>>
>>>
>>>>For running with visudo :
>>>>
>>>>HOST = NOPASSWD: /usr/sbin/edquota, /usr/bin/quota
>>>>
>>>>
>>>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
>>>
>>>
>>Hello to you,
>>
>>Sorry, what means about "ALL" ?
>>
>>
>
>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:
>
> http://www.sudo.ws/sudo/man/sudoers.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081115/7535c484/attachment-0001.htm>
More information about the fedora-list
mailing list