sudoers.conf 815 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # This file MUST be edited with the 'visudo' command as root.
  3. #
  4. # Please consider adding local content in /etc/sudoers.d/ instead of
  5. # directly modifying this file.
  6. #
  7. # See the man page for details on how to write a sudoers file.
  8. #
  9. Defaults env_reset
  10. Defaults mail_badpass
  11. Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  12. Defaults env_keep="VESTA"
  13. # Host alias specification
  14. # User alias specification
  15. # Cmnd alias specification
  16. # User privilege specification
  17. root ALL=(ALL:ALL) ALL
  18. # Members of the admin group may gain root privileges
  19. %admin ALL=(ALL) ALL
  20. # Allow members of group sudo to execute any command
  21. %sudo ALL=(ALL:ALL) ALL
  22. # See sudoers(5) for more information on "#include" directives:
  23. #includedir /etc/sudoers.d
  24. admin ALL=NOPASSWD:/usr/local/vesta/bin/*