Browse files


  • Loading branch information...
1 parent 02feeaa commit 1407f5ea9bcb03c3b90c033f5c64a312d8aa4211 @klacke committed Jun 15, 2010
Showing with 16 additions and 2 deletions.
  1. +16 −2 www/privbind.yaws
@@ -59,8 +59,22 @@ erlang::::type=normal;defaultpriv=basic,net_privaddr
- Linux doesn't have anything like the above. There are a couple
- of options on Linux. The best is to use an auxiliary program
+ On Linux, kernels later than 2.6.24, it's possible to do:
+<div class="box">
+ <verbatim>
+$ setcap 'cap_net_bind_service=+ep' /usr/bin/erl
+ </verbatim>
+ The above command grants the capability of binding
+ privileged ports to /usr/bin/erl
+ There are a couple
+ of other options on Linux. One is to use an auxiliary program
like authbind <em></em>
or privbind <em></em>

0 comments on commit 1407f5e

Please sign in to comment.