Re: port 80 on unix

On Sat, 29 Jan 2000, Oliver Seemann wrote:

> > Are you root? In Unix, one must be root to bind to ports below 1024.
> 
> No, unfortunately I'm not root, but the FAQ says:
> 
> "As of release 1.0alpha5, Jigsaw can now run on port 80, without running as
> the root user"

On unix, to bind a port < 1024 you MUST be root, however, to run safely,
you have to change user and chroot after binding the socket. This is what
is allowed by this small native piece of code.
(Usually it runs under nobody/nogroup and chrooted, this is the setup of
jigsaw.w3.org)
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Saturday, 29 January 2000 06:01:11 UTC