Hi All, Hey there is no reason to run icecast as root. So the easy thing is just not run icecast as root. In fact why are you running as root to begin with?? On Mon, 23 Apr 2001, Steve Smith wrote:> "Tweaker" == Tweaker <tweaker@yahoo.com> writes: > > Is there a way that I can have icecast run as a different user other > > than root? > > I'm currently working on a patch against CVS that will add the ability > to drop root privileges and (optionally) enter a chroot jail. This > can be done using 'su' and 'chroot' from the command-line/startup > script, but being able to specify it in the config is a lot > easier/cleaner to me. > > Let me know if you want to be a tester for it. > > Steve > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
"harvey" == harvey smith <harvey@buskers.org> writes:> Hi All, Hey there is no reason to run icecast as root. So the easy > thing is just not run icecast as root. In fact why are you running > as root to begin with??If icecast is run from startup scripts on boot then it will almost certainly be running as root. Steve --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, 23 Apr 2001, Steve Smith wrote:> "harvey" == harvey smith <harvey@buskers.org> writes: > > Hi All, Hey there is no reason to run icecast as root. So the easy > > thing is just not run icecast as root. In fact why are you running > > as root to begin with?? > > If icecast is run from startup scripts on boot then it will almost > certainly be running as root.Then the start up scripts are in error, you could do a 'su' in the script. Wgere did you get the start-up scripts from? Harvey> > Steve > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
try this.. in your /etc/rc.d/rc.local file (assuming RH compatible) su -c /usr/local/icecast/bin/icecast iceadm & create the user iceadm and edit the /etc/shadow file replace the !! that follows iceadm: with a '*'. iceadm:*:<whatever is there>..... the '*' tells the os that it's a non-loginable acct. I use this format for all services. icecast, junkbuster, squid, etc. Hope that helps, matt On Mon, 23 Apr 2001, Steve Smith wrote:> "harvey" == harvey smith <harvey@buskers.org> writes: > > Hi All, Hey there is no reason to run icecast as root. So the easy > > thing is just not run icecast as root. In fact why are you running > > as root to begin with?? > > If icecast is run from startup scripts on boot then it will almost > certainly be running as root. > > Steve > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to 'icecast-request@xiph.org' > containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.