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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...