Advertisement
asanchez75

Linux/visudo

Jul 27th, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. GNU nano 2.2.6 File: /etc/sudoers.tmp
  2.  
  3. #
  4. # This file MUST be edited with the 'visudo' command as root.
  5. #
  6. # Please consider adding local content in /etc/sudoers.d/ instead of
  7. # directly modifying this file.
  8. #
  9. # See the man page for details on how to write a sudoers file.
  10. #
  11. Defaults env_reset
  12. Defaults mail_badpass
  13. Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  14.  
  15. # Host alias specification
  16.  
  17. # User alias specification
  18.  
  19. # Cmnd alias specification
  20.  
  21. # User privilege specification
  22. root ALL=(ALL:ALL) ALL
  23.  
  24. # Members of the admin group may gain root privileges
  25. %admin ALL=(ALL) ALL
  26.  
  27. # Allow members of group sudo to execute any command
  28. #%sudo ALL=(ALL:ALL) ALL
  29. %sudo ALL=NOPASSWD: ALL
  30. # See sudoers(5) for more information on "#include" directives:
  31.  
  32. #includedir /etc/sudoers.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement