Getting Data In

Setting allowRemoteLogin=always works only if admin PW changed

rgcox1
Communicator

Based on the documentation and answer 8519, it is unclear that both the admin password has to have been changed, and allowRemoteLogin=always must be set in order to execute CLI commands remotely. However, experimentation with Splunk 4.1.4 shows that both must be true. All forwarders are lightweight and using the forwarder license. They simply need to have the deploy client set:

"c:\program files\Splunk\bin\splunk" Set deploy-poll splunk:8089 -auth admin:changeme

I have 274 servers that need to be upgraded, and with this new limitation it appears that I will have to logon to each to complete the install. Any suggestions for a workaround would be appreciated.

Tags (3)
1 Solution

rgcox1
Communicator

Back to the old deployment method - copy conf files. In this case only deploymentclient.conf needed to be copied.

View solution in original post

0 Karma

rgcox1
Communicator

Back to the old deployment method - copy conf files. In this case only deploymentclient.conf needed to be copied.

0 Karma

rgcox1
Communicator

PSExec is what I'm using.

0 Karma

ftk
Motivator

Script it! Puppet on Linux and a simple batch script + psexec on Windows. Have the script pull the correct conf file from the network and restart splunk.

0 Karma

jbsplunk
Splunk Employee
Splunk Employee

It is a bit of a chicken-egg situation. You can't change the password via the CLI because you're using the default password, as you've discovered. The short answer is that you're going to have to issue the command to change the passwords locally. You could probably accomplish this with a tool like puppet which would allow you to download and run the script at boot time.

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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