Security

Required permission for linux user owner of Splunk software

SplunkExplorer
Contributor

Hi Guys, we have a doubt reagarding the user that execute Splunk on a linux environment.

Until now, we have always avoided use of root user; instead, we have always  installed and configured Splunk on Linux in the following way:

  • Create a dedicated user, eg. "splunkuser"
  • Change ownership of splunk installation folder to that user
  • Configure splunk for boot autorun with dedicated user

What is not clear for us, and we didn't found on doc, is: suppose this user belongs to sudoers group. Here 2 question rise:

  1. It can be removed from sudoers, or some Splunk related process require it belong to that group?
  2. If it cannot be totally removed from sudoers, which process requires it maintain such kind of privileges?
Labels (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @SplunkExplorer ,

I usually use user splunk and I don't add it to sudoers, but I enabled ACL.

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @SplunkExplorer ,

I usually use user splunk and I don't add it to sudoers, but I enabled ACL.

Ciao.

Giuseppe

SanjayReddy
SplunkTrust
SplunkTrust

Hi @SplunkExplorer 

for your question regarding sudors

I dont think Splunkuser you created , by deafult its not part of any sudors list , it will be group same as splunk user

for running Splunk on linux you dont need to part of any sudors. Splunk perfrom its core funcations as normal.




0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...