it works on my ubuntu server! on ubuntu the sqeezecenter is in the 'nogroup' group. i added a new 'shutdown' group, added the user 'squeezecenter' to that group and made sure anyone in there can shutdown the system without a password.
i haven't tried suspend/hibernate though... $ sudo -s # chown -R squeezecenter:nogroup /var/lib/squeezecenter/Plugins # addgroup shutdown # usermod -a -G shutdown squeezecenter check: # groups squeezecenter need to edit /etc/sudoers with visudo: # visudo add the line %shutdown ALL = NOPASSWD: /sbin/shutdown check (only the message is displayed; the system won't go down): # sudo -u squeezecenter sudo /sbin/shutdown -k -h now restart the squeezecenter # invoke-rc.d squeezecenter restart -- ghostdog ------------------------------------------------------------------------ ghostdog's Profile: http://forums.slimdevices.com/member.php?userid=15876 View this thread: http://forums.slimdevices.com/showthread.php?t=52960 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
