Skip to content

Instantly share code, notes, and snippets.

@pmalek
Created February 1, 2014 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmalek/8756921 to your computer and use it in GitHub Desktop.
Save pmalek/8756921 to your computer and use it in GitHub Desktop.
Allow an app to use port below 1024 without root permissions (node.js example)
sudo apt-get install libcap2-bin
sudo setcap cap_net_bind_service=+ep /usr/local/bin/node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment