Actually, the command you should be testing is:

# sudo -u squeezeboxserver sudo /sbin/shutdown -h -k now

The second 'sudo' is necessary.  Absent that, shutdown rightly complains
that the request isn't coming from root.

The '-k' runs shutdown in 'test' mode and the system doesn't actually
shutdown but it will confirm that 'squeezeboxserver' has passwordless
permission to run 'sudo /sbin/shutdown'.


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

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

Reply via email to