Deployment Architecture

Splunk Installation using tar as a root user

sanjubaba
Path Finder

Can we install Splunk Enterprise as a root user using tar method?

Labels (2)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust
If your current installation is running as a non root user, then you could install it as this user. If it’s owned by root then you must install it as root and after that you should consider to change the ownership to non root user and run it as non root user as @renjith_nair already said.
r. Ismo

View solution in original post

sanjubaba
Path Finder

Thanks @renjith_nair for your reply.

I want to upgrade my Splunk Enterprise version so while upgrading it using tar should I upgrade it as a non-root user or as a root user? There should not be any permission denied issue during upgrade if I go with non-root user.

Please suggest some workaround if possible.

0 Karma

isoutamo
SplunkTrust
SplunkTrust
If your current installation is running as a non root user, then you could install it as this user. If it’s owned by root then you must install it as root and after that you should consider to change the ownership to non root user and run it as non root user as @renjith_nair already said.
r. Ismo

renjith_nair
Legend

You can install splunk as a root but you shouldn't if possible. This is normally against the best practices considering the security aspects.

Please refer to below more information 

https://docs.splunk.com/Documentation/Splunk/8.0.6/Installation/RunSplunkasadifferentornon-rootuser

Tar file installation : https://docs.splunk.com/Documentation/Splunk/8.0.6/Installation/InstallonLinux

 

 

---
What goes around comes around. If it helps, hit it with Karma 🙂
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...