-
Notifications
You must be signed in to change notification settings - Fork 413
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
Do not run logstash-forwarder as root (on Debian) #394
Comments
This is fixed in #402 |
In the version I cloned today, logstash-forwarder still runs as root by default, even though the logstash-forwarder user was created. I ran |
Hi, Whats status on this? 0.4.0 on debian still runs as root... |
For now, you may work around this by editing the init script or the /etc/default/ file and providing your desired value. For a solution, I don't know. We currently deploy 1 deb package intended to service all deb-using platforms. The further specialization that we do will cause this 1 deb to stop working on certain platforms. Addtionally, the assumption that all logs are readable by the I don't know what a good solution is. I will agree that running as root is not desirable, but doing so will cause other problems that I'd like to see fixed also. |
Ok, works for me. But nice value from /etc/default/ never used in init |
Hi,
On debian all logfiles should be readable by group
adm
.It would thus be nice to have logstash-forwarder NOT run as root
Possible solution:
logstash-forwarder
and execute with this user/groupadm
, thus give access to all logfilesThe text was updated successfully, but these errors were encountered: