daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Jun 24th, 2016 24 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  13. # Host alias specification
  14.  
  15. # User alias specification
  16.  
  17. # Cmnd alias specification
  18. Cmnd_Alias     SU = /usr/bin/su
  19. Cmnd_Alias     SHELLS = /usr/bin/passwd
  20.  
  21.  
  22. # User privilege specification
  23. root    ALL=(ALL:ALL) ALL
  24. sagar   ALL=(ALL:ALL) ALL
  25. dhruv   ALL=NOPASSWD: /usr/lib/openssh/sftp-server
  26. dhruv   ALL=/usr/bin, !SU, !SHELLS
  27. #dhruv  ALL=(ALL:ALL) ALL
  28.  
  29. # Members of the admin group may gain root privileges
  30. %admin ALL=(ALL) ALL
  31.  
  32. # Allow members of group sudo to execute any command
  33. %sudo   ALL=(ALL:ALL) ALL
  34.  
  35. # See sudoers(5) for more information on "#include" directives:
  36.  
  37. #includedir /etc/sudoers.d
RAW Paste Data
Top