I'm running squeezecenter 7.3.4 here's what my sudoers file has in it: (newgreg is my user name and i have admin privledges with this account)
# sudoers file. # # This file MUST be edited with the 'visudo' command as root. # # See the sudoers man page for the details on how to write a sudoers file. # # Host alias specification # User alias specification # Cmnd alias specification # Defaults specification Defaults env_reset Defaults env_keep += "BLOCKSIZE" Defaults env_keep += "COLORFGBG COLORTERM" Defaults env_keep += "__CF_USER_TEXT_ENCODING" Defaults env_keep += "CHARSET LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE" Defaults env_keep += "LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME" Defaults env_keep += "LINES COLUMNS" Defaults env_keep += "LSCOLORS" Defaults env_keep += "SSH_AUTH_SOCK" Defaults env_keep += "TZ" Defaults env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY" Defaults env_keep += "EDITOR VISUAL" # Runas alias specification # User privilege specification root ALL=(ALL) ALL %admin ALL=(ALL) ALL # Uncomment to allow people in group wheel to run all commands # %wheel ALL=(ALL) ALL # Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL # Samples # %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom # %users localhost=/sbin/shutdown -h now newgreg ALL=NOPASSWD:/sbin/shutdown* newgreg ALL=NOPASSWD:/usr/bin/pmset* newgreg ALL=NOPASSWD:/sbin/SystemStarter* newgreg ALL=NOPASSWD:/usr/local/sbin/spc-sleep.sh newgreg ALL=NOPASSWD:/usr/local/sbin/spc-hibernate.sh newgreg ALL=NOPASSWD:/usr/local/sbin/spc-wakeup.sh* -- exile ------------------------------------------------------------------------ exile's Profile: http://forums.slimdevices.com/member.php?userid=4579 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins