Michael Smith wrote:> On Thu, 3 Feb 2005 14:10:50 +1000, Geoff Shang <geoff@hitsandpieces.net> wrote: > >>Ron Blok wrote: >> >> >>>Could it be a file/directory permission issue ? >> >>I have a vague recollection that the file needs to be able to be opened for >>writing as well as reading, if that helps. > > > Your recollection is correct - for adding or removing users, you need > to be able to write to it. > > If you don't use that bit (i.e. you're only using it for > authentication, and you're not changing the list of users that is > allowed), then it only needs to be opened for writing.I think you mean reading. It's important to note that it has to have permissions for reading and if necessary for writing, by the user icecast is run as. If you use the changeowner option in the config file, make sure the password file has appropriate access for that user or group. Joel
Ron Blok
2005-Feb-03 07:40 UTC
[Icecast] user Authentication - fail to add an user - Problem solved !
YES YES YES !!! Problem solved! First of all ... I probably miss interpreted the following information from the documentation; "The first, filename, specifies the name of the file to use to store users and passwords. Note that this file need not exist (and probably will not exist when you first set it up). Icecast has built-in support for managing users and passwords via the web admin interface." I interpreted this as .. the authentication file would be generated by icecast. When I specified the absolute path., created the empty file end ensured the correct file permissions ... I was able to add users. At this moment I am not able to delete users trough the web interface ...... but before I start a new threat about this one I try to figure it out for myself first. Boy do I feel stupid :-( Thanks for all your help !!!! Ron -----Original Message----- From: icecast-bounces@xiph.org [mailto:icecast-bounces@xiph.org]On Behalf Of Joel Ebel Sent: donderdag 3 februari 2005 16:22 To: icecast Subject: Re: [Icecast] user Authentication - fail to add an user Michael Smith wrote:> On Thu, 3 Feb 2005 14:10:50 +1000, Geoff Shang <geoff@hitsandpieces.net>wrote:> >>Ron Blok wrote: >> >> >>>Could it be a file/directory permission issue ? >> >>I have a vague recollection that the file needs to be able to be openedfor>>writing as well as reading, if that helps. > > > Your recollection is correct - for adding or removing users, you need > to be able to write to it. > > If you don't use that bit (i.e. you're only using it for > authentication, and you're not changing the list of users that is > allowed), then it only needs to be opened for writing.I think you mean reading. It's important to note that it has to have permissions for reading and if necessary for writing, by the user icecast is run as. If you use the changeowner option in the config file, make sure the password file has appropriate access for that user or group. Joel _______________________________________________ Icecast mailing list Icecast@xiph.org http://lists.xiph.org/mailman/listinfo/icecast -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 1-2-2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.4 - Release Date: 1-2-2005
On Thu, 03 Feb 2005 10:21:57 -0500, Joel Ebel <jbebel@ncsu.edu> wrote:> Michael Smith wrote:> > If you don't use that bit (i.e. you're only using it for > > authentication, and you're not changing the list of users that is > > allowed), then it only needs to be opened for writing. > > I think you mean reading. It's important to note that it has to have > permissions for reading and if necessary for writing, by the user > icecast is run as. If you use the changeowner option in the config > file, make sure the password file has appropriate access for that user > or group.Yes, I did mean reading in that last sentence. Oops - typo/thinko :-) Thanks for clarifying. Mike
Michael Smith
2005-Feb-03 15:08 UTC
[Icecast] user Authentication - fail to add an user - Problem solved !
On Thu, 03 Feb 2005 16:41:27 +0100, Ron Blok <ronblok@wxs.nl> wrote:> YES YES YES !!! > Problem solved! > > First of all ... I probably miss interpreted the following information from > the documentation; > > "The first, filename, specifies the name of the file to use to store users > and passwords. Note that this file need not exist (and probably will not > exist when you first set it up). Icecast has built-in support for managing > users and passwords via the web admin interface." > > I interpreted this as .. the authentication file would be generated by > icecast. > When I specified the absolute path., created the empty file end ensured the > correct file permissions ... I was able to add users. At this moment I am > not able to delete users trough the web interface ...... but before I start > a new threat about this one I try to figure it out for myself first.You interpreted this correctly. The authentication file should be created by icecast. If it isn't... that sounds like a bug (so please report it on our bugtracking systems at http://bugs.xiph.org). Alternatively, it might be that the location you specified was simply not writable by the user icecast was running as - if that's the case, it won't be able to create the file. Not being able to delete users would also be a bug. Again, I suspect that's a permissions issue, though - icecast needs to create a temporary file before overwriting the original file. Mike