Skip to content
This repository was archived by the owner on May 31, 2023. It is now read-only.

Enable the use of ports below 1024 #122

Merged
merged 3 commits into from
Jan 3, 2019

Conversation

wvh-github
Copy link
Contributor

This patch enables the use of port lower then 1024 for grafana. This is achieved by setting the capability "CAP_NET_BIND_SERVICE" for the binary "/usr/sbin/grafana-server".
Setting this has some security implications but not a whole lot. The ping command on centos uses a similar approach to enable it to use raw packets while not using setuid.

Background:
Explaining the use of 'capabilities' for ping:

@paulfantom paulfantom merged commit b343ad5 into cloudalchemy:master Jan 3, 2019
dimavin pushed a commit to intento/ansible-grafana that referenced this pull request Jan 16, 2019
* add capability for ports lower then 1024

* fix some spelling and a typo

* update documentation to include grafana_cap_net_bind_service
@lock
Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants