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!

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