Re: Running bind as non-root user On Wed, 5 May 2004 22:01:36 +0200, "mmark7" <mmmarkm2000@yahoo.co.uk>
wrote:
>
>you cannot use lower ports for demons startes as non-root...only ports above
>1024 are alowed for non-root user...
>
>I experienced it during starting Apache as non-root user.
This is, ofcourse, true.
But, you can set up apache to run as non-root user. You start apache
as root, so it can bind port 80. After that, all other apache
processes are started as user that you specified in httpd.conf file.
You can alse start named with '-u username' argument. You will be able
to run named as non-root user similary as apache does it.
Now, problem is with system resource controller.
I've tried to start named with:
startsrc -s named -a "-u named"
and it would start it and report PID, but proces dies instantly.
Any idea?
Thanks!
Mario. |