[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [sudo-users] [Fwd: Quota function]



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 ita org mo wrote:
  
Russell Van Tassell wrote:

    
On Fri, Nov 14, 2008 at 09:40:26PM +0800, edwardspl 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
  

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]