Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile change to enable binding to low ports (443) without running as root #4

Open
karmakaze opened this issue Nov 10, 2018 · 0 comments

Comments

@karmakaze
Copy link

karmakaze commented Nov 10, 2018

As discussed[0] and described[1].

Basically do

setcap 'cap_net_bind_service=+ep' /path/to/program

Which doesn't alter the programs data bytes but does allow it to bind to low ports on the installed system, so that's an install time step not a build one.

[0] StackOverflow 36875673
[1] Apache.org Wiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant