W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Re: port 80 on unix

From: Yves Lafon <ylafon@w3.org>
Date: Sat, 29 Jan 2000 12:03:01 +0100 (MET)
To: Oliver Seemann <oseemann@gmx.net>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0001291200520.15092-100000@tarantula.inria.fr>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT