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

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

 



Russell Van Tassell wrote:
On Sat, Nov 15, 2008 at 04:16:27PM +0800, edwardspl@xxxxxxxxxx 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.
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux