raven22;355749 Wrote: 
> Thank you for the new "end of day" feature. It works perfectly, also the
> delayed sleep function is awesome. I made it work on Clarkconnect, for
> other CC users:
> 
> Open a terminal window:
> 
> # visudo
> a (to enter insert mode)
> 
> change following lines in:
> 
> # Uncomment to allow people in group wheel to run all commands
> %squeezecenter        ALL=/sbin/shutdown*
> 
> # Same thing without a password
> %squeezecenter  ALL=(ALL)     NOPASSWD: ALL
> 
> press the Esc button to leave insert mode
> type :wq  (to save and quit)
> 
> In the SvrPowerCtl settings type the following command to shutdown the
> server
> sudo /sbin/shutdown -h now

Raven: would you be willing to run this by folks on the linux forum? 
The:

%squeezecenter ALL=(ALL)  NOPASSWD: ALL

..line looks to me like an invitation to a security breach. Caveat: My
ignorance of Linux security matters knows no bounds.

Does:

%squeezecenter ALL=NOPASSWORD:/sbin/shutdown*

..work?  I think the other entry essentially gives the squeezecenter
user the complete keys to the castle.


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

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

Reply via email to