Alex
2004-Dec-28 13:14 UTC
[Icecast] startup problem: how to start ices under regular user account
Hello ices experts, I am running icecast2 and ices2 which are working fine for me. What i can't find in docs is how to startup ices tu run under certain user account, not as root. I tried to setuid /usr/bin/ices and change owner without luck... ices can't be started! Also, i tried as root, to see if next command will work: su -l alex -s /bin/bash -c "/usr/bin/ices /etc/ices-live.xm &" or i added the above line in my startup scripts...but no ices process is running! I need this feature for my startup script, because i don't want to allow ices to be started as root! Any help will be appreciated! Regards, Alex
Paul Melnikow
2004-Dec-28 14:57 UTC
[Icecast] startup problem: how to start ices under regular user account
On Tue, Dec 28, 2004 at 11:13:16PM +0200, Alex wrote:> I am running icecast2 and ices2 which are working fine for me. What i > can't find in docs is how to startup ices tu run under certain user > account, not as root.here's an init script i've been using -- kind of rough, but should probably do the trick. http://www.zephyr.to/icecast/myices you can put it in /etc/init.d/icecast, and probably change DUMP=false, and USER=alex or whatever :) hth p. -- every day is a good day