Splunk Enterprise

Why am I not able to change Splunk password?

splunkis0927
Engager

While trying to change password on a Splunk HF, and getting below error

/opt/splunk/bin/splunk edit user admin -password new_passowrd -role admin -auth admin:changeme

---> "Couldn't complete HTTP request: Connection reset by peer error"

Your help would be much apprecaited 

Labels (2)
0 Karma

SanjayReddy
SplunkTrust
SplunkTrust

Hi @splunkis0927 

try this

splunk edit user <username> -auth admin:<admin_password> -password <password>

Ex:
/opt/splunk/bin/splunk edit user admin -auth admin:changeme -password new_passowrd

 

0 Karma

splunkis0927
Engager

looks still the same .

is this SSL related issue ?

0 Karma

SanjayReddy
SplunkTrust
SplunkTrust

Hi @splunkis0927 

which splunk version are you using?. are you seeing any ERROR OR WARN messages in splunkd.log

I used same command , I am able to update password in splunk 9.0.1

meantime you can use following URL to update the admin password

https://splunkonbigdata.com/how-to-reset-the-forgotten-password-of-admin-in-splunk/ 

---
If this reply helps you, an upvote/Karma would be appreciated.

0 Karma
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, ...