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
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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...