Advertisement
Guest User

Untitled

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