On Fri, Dec 10, 2004, Ralf S. Engelschall wrote:
> On Fri, Dec 10, 2004, Michael van Elst wrote:
>
> > On Fri, Dec 10, 2004 at 08:44:48AM +0100, Ralf S. Engelschall wrote:
> > > On Thu, Dec 09, 2004, David M. Fetter wrote:
> > >
> > > > I'm trying to ircd to run as a non-root user but it doesn't seem to run
> > > > and there aren't any debugging or other error messages. I modified the
> > > > rc.ircd file to look like so:
> > > > [...]
> > >
> > > Well, AFAIK IRC uses TCP port 194 and hence the daemon
> > > has to be started as root in order to listen to the port...
> >
> > IRC has an assigned port number of 194, but nobody uses it to avoid
> > running the irc server as root.
> >
> > Instead almost all IRC servers use port 6667.
>
> Ah, ok, thanks for the hint, Michael. Then this obviously cannot be the
> reason why this beast insists on running as root.
Ok, the problem just was that the permissions of the <prefix>/var/ircd
directory also have to be adjusted in order to allow the ircd to run
under non-root. I've now adjusted the OpenPKG-CURRENT "ircd" package
to run under the "restricted user" and the daemon started and stopped
fine. Please try out ircd-2.11.0b20-20041210 or higher and give feedback
whether it also works for you now.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]