vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi! Anybody managed to configure bind on AIX to run as non-root user? Since bind is started via /etc/rc.tcpip as: start /usr/sbin/named "$src_running" I tried to put: start /usr/sbin/named -u named -g named "$src_running" but it didn't do the trick. Thanks! Mario. |
| |||
| 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. r, m. Uzytkownik "Mario Pranjic" <keeper@fly.srk.fer.hr> napisal w wiadomosci news:ba4h90l4dllvv5852erm2dmr7880rap77b@4ax.com... > Hi! > > Anybody managed to configure bind on AIX to run as non-root user? > > Since bind is started via /etc/rc.tcpip as: > start /usr/sbin/named "$src_running" > > I tried to put: > start /usr/sbin/named -u named -g named "$src_running" > > but it didn't do the trick. > > Thanks! > > Mario. |
| ||||
| 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. |