peterw;340088 Wrote: > Why????The primary motivation for me was this: I have several friends (4 at present) with zero linux experience that I've set up with headless SC servers running Fedora. In the past, I've just had cron jobs set to update both the OS and SC once a week. But the recent shenanigans with Fedora's repos have scared me off of that approach. What I want now is an easy way to update SC when I drop by for a visit without having to bring my laptop along to ssh into their systems.
I agree with you about the potentially dubious merits of such a feature, and the potential security problems. I asked the question about the wisdom of including such a feature in this thread: http://forums.slimdevices.com/showthread.php?t=52134 ..but really didn't get a response in that regard. I wish you had chimed in earlier and prevented me from wasting a week battling windmills. As it stands now (and I have yet to post any of this code), this feature is disabled by default and the "info" bits on the settings page describe it as "EXPERIMENTAL"...which, hopefully, is enough to scare away the unwary. peterw;340088 Wrote: > First, that should be "F" ("freshen" == update if it's installed as a > package, or do nothing if it's not), not "U" ("update" == update, or > install if it's not installed already -- can lead to N+1 > installations). Thanks for that. peterw;340088 Wrote: > Third, this likely won't work on a bunch of systems (those where SC7 > doesn't have the ability to run any old command as root; for your > plugin, SC7 should really only need the ability to run a shutdown > command).Correct. Again, as it stands now, a potential user of this feature > would have to install a specific script at a specific location (e.g. /var/lib/squeezecenter/prefs/scripts/scupdate.sh) make it executable and grant squeezecenter sudo privilege to that script in /etc/sudoers. peterw;340088 Wrote: > P.S., did I ask why in the world you'd want to do this? ;-)On a scale of 1 to > 10 of RBIs (Really Bad Ideas) how would you rate this? What do other folks say? If there are those who like the idea of this feature, I suppose one alternative is to just publish the supporting code separately (or at least comment it out) and make it the responsibility of the user to incorporate it into the released plugin. That ought to be enough to really make this a "use at your own risk" feature. -- gharris999 ------------------------------------------------------------------------ gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=52547 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/unix
