On Mon, Sep 01, 2003 at 10:30:23PM +0000, Andreas Schwarz wrote:
> Hi,
> 
> I have written a NNTP server in Ruby. How can I bind it to a port < 1024
> without having to run it as root (Linux)?

You can't.  Only root can bind to ports under 1024 on *nix.
The way to do it safely is for the program to bind to the port early and then 
set its effective user id to something else before doing anything else.

-Mark