gharris999;339745 Wrote: 
> 
> 2). Ability to download the latest nightly and update SC.
> 

Why????

> /bin/rpm -Uvh $1

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).

Second, again, why?

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).

Fourth, this is a security can of worms, especially since Logitech
isn't signing their packages. You're placing your users one little MITM
hack away from subverting their systems (esp. since packages can include
scripts that run as root).

-Peter

P.S., did I ask why in the world you'd want to do this? ;-)


-- 
peterw

http://www.tux.org/~peterw/
free plugins: http://www.tux.org/~peterw/#slim
AllQuiet BlankSaver ContextMenu FuzzyTime 
KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=52547

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

Reply via email to