Skip to content

Instantly share code, notes, and snippets.

@zyjibmcn
Last active April 5, 2016 09:10
Show Gist options
  • Save zyjibmcn/8359b1b5d501268b7977bc0ccb722457 to your computer and use it in GitHub Desktop.
Save zyjibmcn/8359b1b5d501268b7977bc0ccb722457 to your computer and use it in GitHub Desktop.
apache httpd NonRootPortBinding
root@myhost # setcap cap_net_bind_service=+ep /usr/sbin/httpd
root@myhost # getcap /usr/sbin/httpd
/usr/sbin/httpd = cap_net_bind_service+ep
refer: https://wiki.apache.org/httpd/NonRootPortBinding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment