Getting Data In

Remotely change Solaris universal forwarder admin password

adamblock1
Explorer

I have somewhere between 20-50 universal forwarders installed on Solaris hosts. I need to change the Splunk admin password on each of these machines, and being that I do not have credentials to logon to each of these hosts, I am curious if this can be done remotely.

Thank you.

0 Karma

MuS
Legend

Hi adamblock1,

One way to do this is using Deployment Server and setup a scripted input. Inside the scripted input, you run the command:

$SPLUNK_HOME/bin/splunk edit user admin -password $NEWPASSWORD -auth admin:changeme

Once this is run, you can delete the input from the forwarders using the Deployment Server.

hope this helps ...

cheers, MuS

HiroshiSatoh
Champion

Do not be changed in the CLI from SPLUNK server?

>splunk edit user admin -password PASSWORD_NEW -auth admin:PASSWORD_OLD -uri https://HOSTNAME:8089
0 Karma

HiroshiSatoh
Champion

This command is not usable by the default password.I'm sorry.

0 Karma

adamblock1
Explorer

The "splunk edit user admin" command works if the default password had been changed. I have found that when these universal forwarders were installed, the default password was never chaged.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...