Security

How to change permissions from root to Splunk user?

So76
Explorer

Hey,

Need help. Have a client that have been running splunk for a while as root but now whats to run splunk as splunk, and there's no splunk as a user. It's a linux server

Can anyone help with steps to proceed without running into permission error issues

Should I

useradd splunk

chown -R splunk:splunk /opt/splunk

and restart splunk

Will appreciate suggestions

 

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

those are correct steps. Before useradd add also group splunk.

Then in first phase stop splunk on root and then disable boot start.

After you have done crown as a root, enable boot start (preferred way is to use systemd) with user splunk. Check correct command and parameters from docs.

r. Ismo

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...