[icecast] icecast 2.0.0 chroot problem
DKramer at reflect.com
Fri Feb 20 10:35:05 PST 2004
Not sure if this has been fully answered yet, but in order for chroot
services to run effectively you will need to change the ownership of all
directories and files to, in this case, nobody:nobody. If you are not very
familar with running chroots, you will also need to disable the shell login
within your /etc/passwd file ex like this:
In this case I set the home dir to my chroot directory where Icecast begins,
but also disable the shell login. Im really anal about my users and
services matching so I created a specific user for running icecast. In your
icecast.xml file you will also need to set your base directory to match your
<!-- basedir is only used if chroot is enabled -->
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<p>Let me know if you need anymore help setting this up. This seems to be one
aspect of icecast I found rather easy for myself. Now if I can just get it
connected to a DSP!!!
<p>> -----Original Message-----
> From: Geoff Shang [mailto:gshang at pacific.net.au]
> Sent: Friday, February 20, 2004 5:59 AM
> To: icecast at xiph.org
> Subject: RE: [icecast] icecast 2.0.0 chroot problem
> On Fri, 20 Feb 2004, Jan-Kees Fels wrote:
> > I got rid of the following lines number 3 and 8 hereunder. They were
> > present in the example xml and I think that they don't belong here
> > because icecast won't run if chroot is not being used........
> Lines 3 and 8 specified the beginning and end of a commented
> out section.
> The chroot section is commented out since you only need to
> configure it if
> you are running it as root (you're encouraged to run it as
> someone else)
> and should be edited before use at any rate.
> --- >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 at 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 at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast