[Zope] Zope server cant bind port 80

Bak @ kedai kedai@kedai.com.my
Wed, 13 Mar 2002 22:55:13 +0800


>On 13/3/02 1:24 pm, "Stanislav Marszalek" <smarszalek@digi-trade.cz> wrote:
>
>> Hi,
>> When starting Zope server on port 80 under user "zope", sever fails with
>> message "fail to bind port 80 - dont have permissions." When running
under
>> user "root", it is ok. When trying start zope server on port 8080,
>> everything is ok. So just cant run on port 80 because of permissions but
>> why?
>
>Generally only root can bind to ports lower than 1024. If you want user
zope
>to be able to, you will need to set the suid bit on the binary and make it
>owned by root.
>

or use the -u, as in
z2.py -u zope -w80

but you still have to start as root, and z2.py will then change to user zope
when done

hth
>
>--
>Wayne Pascoe <wayne.pascoe@ehsrealtime.com>
>
>The price of freedom is eternal vigilance
>   - Thomas Jefferson
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>