All Apps and Add-ons

Splunk does not drop privileges in Centos 7?

wsanderstii
Path Finder

I am trying to install a new splunk indexer peer in centos 7 (splunk-6.6.5-b119a2a8b0ad-linux-2.6-x86_64.rpm) and I am seeing a big change in startup behavior:

In centos 6, if I run /opt/splunk/bin/splunk start|stop as root, splunk eventually drops privileges and runs as user splunk.

No such thing happens in centos 7, if I run /opt/splunk/bin/splunk start|stop as root, splunk continues to run as user root.

Support tells me splunk is supposed to be started as user splunk, but this is not the case in centos 6. In centos 6 the init.d script does not appear to su to user splunk before it starts splunk.

Is this the expected behavior?

Tags (1)
0 Karma

p_gurav
Champion

What user you use while installing splunk?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...