In order to make the ServerPowerControl plugin shutdown my server, I have to edit the /etc/sudoers file. This can be done by the command visudo.
I changed some lines in the file into: # Uncomment to allow people in group squeezecenter to run all commands %squeezecenter ALL=/sbin/shutdown* # Same thing without a password %squeezecenter ALL=(ALL) NOPASSWD: ALL This works fine but I wonder if this creates a serious security issue. Can the user squeezecenter give all commands or just the /sbin/shutdown*? In case it is, is there a better way of doing this? -- raven22 ------------------------------------------------------------------------ raven22's Profile: http://forums.slimdevices.com/member.php?userid=16511 View this thread: http://forums.slimdevices.com/showthread.php?t=54542 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
