I'm trying to figure out how best to instruct folks in troubleshooting
my SrvrPowerCtrl plugin.  The primary glitch on linux systems seems
arise when the 'squeezecenter' user hasn't been granted permissions to
run 'shutdown' in the /etc/sudoers file.  

Would the following command (logged in as root) be a valid test of
those permissions?

sudo -u squeezecenter sudo /sbin/shutdown -k -h now


I'd rather use:

su squeezecenter 'sudo /sbin/shutdown -k -h now'

..but su returns "This account is currently not available." ...
presumably because user squeezecenter doesn't have login privileges.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=51688

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to