Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

docs

  • Loading branch information...
commit 1407f5ea9bcb03c3b90c033f5c64a312d8aa4211 1 parent 02feeaa
@klacke authored
Showing with 16 additions and 2 deletions.
  1. +16 −2 www/privbind.yaws
View
18 www/privbind.yaws
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.