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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...