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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...