Permalink
Browse files

docs

  • 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
View
@@ -59,8 +59,22 @@ erlang::::type=normal;defaultpriv=basic,net_privaddr
<p>
- 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:
+</p>
+<div class="box">
+ <verbatim>
+$ setcap 'cap_net_bind_service=+ep' /usr/bin/erl
+ </verbatim>
+</div>
+
+<p>
+ The above command grants the capability of binding
+ privileged ports to /usr/bin/erl
+<p>
+
+<p>
+ There are a couple
+ of other options on Linux. One is to use an auxiliary program
like authbind <em>http://packages.debian.org/stable/authbind</em>
or privbind <em>http://sourceforge.net/projects/privbind/</em>
</p>

0 comments on commit 1407f5e

Please sign in to comment.