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, [EMAIL PROTECTED] wrote: > > >>Russell Van Tassell wrote: >> >> >> >>>On Fri, Nov 14, 2008 at 09:40:26PM +0800, [EMAIL PROTECTED] 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 > >
-- fedora-list mailing list [email protected] To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
