Advertisement
Guest User

sudoers

a guest
Sep 16th, 2010
1,388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. root@XBMCLive:/home/xbmc# cat /etc/sudoers
  2. # /etc/sudoers
  3. #
  4. # This file MUST be edited with the 'visudo' command as root.
  5. #
  6. # See the man page for details on how to write a sudoers file.
  7. #
  8.  
  9. Defaults env_reset
  10.  
  11. # Host alias specification
  12.  
  13. # User alias specification
  14.  
  15. # Cmnd alias specification
  16.  
  17. # User privilege specification
  18. root ALL=(ALL) ALL
  19. xbmc ALL=(ALL) ALL
  20. temp ALL=(ALL) ALL
  21. # Allow members of group sudo to execute any command after they have
  22. # provided their password
  23. # (Note that later entries override this, so you might need to move
  24. # it further down)
  25. %sudo ALL=(ALL) ALL
  26. #
  27. #includedir /etc/sudoers.d
  28.  
  29. # Members of the admin group may gain root privileges
  30. %admin ALL=(ALL) ALL
  31. xbmc ALL=(ALL) NOPASSWD: /usr/sbin/pm-suspend
  32. ### XBMC-specific configuration ###
  33. # XBMC
  34. Cmnd_Alias SHUTDOWN_CMDS = /sbin/shutdown, /sbin/reboot, /sbin/halt, /usr/sbin/service # XBMC
  35. Cmnd_Alias MOUNT_CMDS = /bin/mount, /bin/umount # XBMC
  36. xbmc ALL=(ALL) ALL # XBMC
  37. xbmc ALL=NOPASSWD: SHUTDOWN_CMDS, MOUNT_CMDS # XBMC
  38. xbmc ALL= /etc/init.d/alsa-utils
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement