Getting Data In

Installing rpm as different user and not creating splunk user

aaronkorn
Splunk Employee
Splunk Employee

Is it possible to install the universal forwarder rpm as a different user and not have the rpm create the "splunk" user?

0 Karma
1 Solution

dart
Splunk Employee
Splunk Employee

In this scenario I'd usually use the tarball to install Splunk

Does that option work for you?

View solution in original post

dart
Splunk Employee
Splunk Employee

In this scenario I'd usually use the tarball to install Splunk

Does that option work for you?

aaronkorn
Splunk Employee
Splunk Employee

Thank you both for your contributions. This will work for me.

0 Karma

kristian_kolb
Ultra Champion

Hm, I guess it would be possible to:

a) install the rpm
b) chown all files in /opt/splunkforwarder
c) delete the 'splunk' user account
d) create the init.d script to run splunk with the user of your choice.

However, I have not tried this, and I'm also unsure if it would survive an upgrade.

Or if you download the tgz instead of rpm, it won't create any accounts, AFAIK.

/Kristian

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...