Skip to content

Instantly share code, notes, and snippets.

@jonsecchis
Created March 26, 2018 18:10
Show Gist options
  • Save jonsecchis/0a03a6abdf39303018d16877dd00bb10 to your computer and use it in GitHub Desktop.
Save jonsecchis/0a03a6abdf39303018d16877dd00bb10 to your computer and use it in GitHub Desktop.
Allow bin to listen to low-numbered ports w/o root privileges
sudo setcap CAP_NET_BIND_SERVICE=+eip `which ${binary}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment