S90transmission to run as a less-privileged user
Forum » Forum / Torrent programs » S90transmission to run as a less-privileged user
Started by: fraterfrater
On: 1253213554|%e %b %Y, %H:%M %Z|agohover
Number of posts: 1
rss icon RSS: New posts
S90transmission to run transmission as a less-privileged user
fraterfrater 1253213554|%e %b %Y, %H:%M %Z|agohover

I have improved the S90transmission startup script so it runs transmission as user "transmission" instead of root as I had it before….
You do need "sudo"
A bluering can just replace the S90transmission script….

This will do an automated install….. (it will patch the whitelight for you, if you have a whitelight)

ipkg install sudo
wget -O /opt/etc/init.d/S90transmission http://wd.mirmana.com/S90transmission_as_user
chmod +x /opt/etc/init.d/S90transmission
ln -s S90transmission /opt/etc/init.d/K10transmission
grep -q ARM926EJ /proc/cpuinfo && [ `cat /proc/meminfo | grep MemTotal | awk '{print $2}'` -lt 100000 ] ||  sed -i -e "s/^# TRANS_GROUP=jewab/TRANS_GROUP=jewab/" /opt/etc/init.d/S90transmission

You may need to copy the contents of your current config (probably in /root/.config/tranmission-daemon) to the home directory of transmission

/opt/etc/init.d/K10transmission
cp -R /root/.config/transmission-daemon/* /home/transmission/.config/transmission-daemon/
last edited on 1253213796|%e %b %Y, %H:%M %Z|agohover by frater + show more
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License