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

setcap 'cap_net_bind_service=+ep' does not work #89

Open
albotroz opened this issue Jun 10, 2023 · 0 comments
Open

setcap 'cap_net_bind_service=+ep' does not work #89

albotroz opened this issue Jun 10, 2023 · 0 comments

Comments

@albotroz
Copy link

albotroz commented Jun 10, 2023

If I install endlessh through apt install endlessh then the command setcap 'cap_net_bind_service=+ep' /usr/local/bin/endlessh does not work and I get

Failed to set capabilities on file /usr/local/bin/endlessh' (No such file or directory) The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file`

And there is only a empty endlessh.service in /etc/systemd/system/
Instead the non-empty endlessh.service file is in /lib/systemd/system/

@albotroz albotroz changed the title setcap 'cap_net_bind_service=+ep' doesn not work setcap 'cap_net_bind_service=+ep' does not work Jun 10, 2023
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