Re: Bind to privileged (<1024) ports

Ragnar Hojland Espinosa (root@lightside.ddns.org)
Tue, 9 Jun 1998 06:29:00 +0200 (MET DST)


> #port uids
> 25 8 # mail
> 80 39 # httpd
>
> could allow a httpd running as UID 39 (which is associated with the login
> "httpd") to bind to port 80 without root-privileges. The table could be
> named /etc/bind_perm and activated by

Hm, can't you just set CAP_NET_BIND_SERVICE if you want to bind below
1024?

____/| Ragnar Hojland (ragnar@lightside.ddns.org) Fingerprint 94C4B
\ o.O| 2F0D27DE025BE2302C
=(_)= "Thou shalt not follow the NULL pointer for 104B78C56 B72F0822
U chaos and madness await thee at its end." hkp://keys.pgp.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu