Forum OpenACS Q&A: Re: binding aolserver to port 80 on freebsd ports

Posted by Patrick Giagnocavo on
Ports under 1024 are "privileged" and can only be started as the root user.

Thus you need to start the program as the root user, and pass -u username and -g groupname for the user and group that aolserver should switch to running as, once it has acquired port 80 (and 443 if using SSL).

Posted by Torben Brosten on
Hi Patrick,

Right. the user and group are also passed in the startup script flags.

I've been using a modified bash startup script that comes with openacs just fine. I just thought I'd try using the one that comes with ports.

The system is not accepting the binding flag for the ports startup script for openacs. I was wondering if there might be some FreeBSD system internal /etc/rc.conf type of thing that needs to be given an okay as well.