Skip to content

Instantly share code, notes, and snippets.

@micalm
Created December 20, 2016 08:45
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 micalm/eb58699a7d759625c5acfaa5455c4d16 to your computer and use it in GitHub Desktop.
Save micalm/eb58699a7d759625c5acfaa5455c4d16 to your computer and use it in GitHub Desktop.
Allow non-root program to run on ports < 1024
# Run as root or with sudo
$ sudo setcap 'cap_net_bind_service=+ep' /usr/bin/executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment