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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...