[Bug 229335] net-mgmt/telegraf: should probably not run as root ..?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 25 13:48:19 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229335

            Bug ID: 229335
           Summary: net-mgmt/telegraf: should probably not run as root ..?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: girgen at FreeBSD.org
          Reporter: julien at perdition.city
          Assignee: girgen at FreeBSD.org
             Flags: maintainer-feedback?(girgen at FreeBSD.org)

Hello,

I'm wondering if running Telegraf as root by default is really appropriate ? I
understand that it could cause a lot of permission "issues" to read certains
metrics, but still, running arbitrary scripts as root through the exec plugin
for instance looks scary to me ..

I'm wondering if it would it be possible to add the creation of a dedicated
user in the ports, and a telegraf_user="telegraf" in the rc.d script ?

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list