Getting Data In

Change Splunk user from root to Splunk user

Ricco19
Loves-to-Learn

Hi,

 

The Splunk Heavy Forwarders and Deployment Servers were running under Splunk user. Unfortunately, during the upgrade process, some admin used the root account, and now the these Splunk instances are running as root. How can I switch back to the Splunk user? These instances are running on Red Hat Linux.

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

This is fairly common and easy to correct.

  1. Stop Splunk
  2. Change the ownership of all Splunk files using the command (as root) chown -r splunk:splunk /opt/splunk
  3. Start Splunk
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...