Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@XBMCLive:/home/xbmc# cat /etc/sudoers
- # /etc/sudoers
- #
- # This file MUST be edited with the 'visudo' command as root.
- #
- # See the man page for details on how to write a sudoers file.
- #
- Defaults env_reset
- # Host alias specification
- # User alias specification
- # Cmnd alias specification
- # User privilege specification
- root ALL=(ALL) ALL
- xbmc ALL=(ALL) ALL
- temp ALL=(ALL) ALL
- # Allow members of group sudo to execute any command after they have
- # provided their password
- # (Note that later entries override this, so you might need to move
- # it further down)
- %sudo ALL=(ALL) ALL
- #
- #includedir /etc/sudoers.d
- # Members of the admin group may gain root privileges
- %admin ALL=(ALL) ALL
- xbmc ALL=(ALL) NOPASSWD: /usr/sbin/pm-suspend
- ### XBMC-specific configuration ###
- # XBMC
- Cmnd_Alias SHUTDOWN_CMDS = /sbin/shutdown, /sbin/reboot, /sbin/halt, /usr/sbin/service # XBMC
- Cmnd_Alias MOUNT_CMDS = /bin/mount, /bin/umount # XBMC
- xbmc ALL=(ALL) ALL # XBMC
- xbmc ALL=NOPASSWD: SHUTDOWN_CMDS, MOUNT_CMDS # XBMC
- xbmc ALL= /etc/init.d/alsa-utils
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement