Installation

Install a *nix universal forwarder (9.1.1) via CLI with username and password

benesch
Observer

Hi all,

I just wanted to ask if there is the possibility to pass username and password when starting splunk forwarder (9.1.1) on a linux system for the first time.

Due to Windows Universal Forwarder Installation this is possible during installation via:

 

 

msiexec.exe /i splunkforwarder_x64.msi AGREETOLICENSE=yes SPLUNKUSERNAME=SplunkAdmin SPLUNKPASSWORD=Ch@ng3d! /quiet

 

 

 

Is there a similar command for Linux Forwarder?

 

Best regards

Labels (2)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

No. You can't do it _during installation_ (and how would you want to do that in the simplest case when you just unpack an archive?). You can, however, do it as a next step right after the installation - you just have to create a user-seed.conf file.

See https://docs.splunk.com/Documentation/Splunk/9.1.1/Admin/User-seedconf

Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...