Getting Data In

What are the pros and cons of running thousands of UFs as root

danielbb
Motivator

We have thousands of UFs running as Unix root and we have discussions whether to keep it like that or run the UFs as a distinct user.

Therefore my question is - what are the pros and cons of running thousands of UFs as root?

Tags (2)
0 Karma

PavelP
Motivator

in most cases there are no need to run UF as root user, most common excuses:

  • permissions to access root-only files - can be relaxed using chmod, chown, unix groups, chattr, setcap etc.
  • permissions to open ports below 1024 - can be fixed with iptables, or dropping permissions after start
  • selinux/apparmor - can be adjusted

most severe disadvantage - security risk because of:

  • increased attack surface
  • any/most security restrictions (file permissions, even SElinux etc) can be disabled or bypassed
  • etc.
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...