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!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...