Splunk® Enterprise

Securing Splunk Enterprise

Download manual as PDF

Download topic as PDF

Change a password

This topic describes how to change a user password. To unlock a user password, see Unlock a user password.

Change a user password in Splunk Web

When resetting a password, use the following task.

1. In Splunk Web click Settings > Access Controls > Users.

2. In the Users page, select the user you want to change.

3. Type a new password for the user. Distribute this password to your user.

4. Click Save.

Change a user password in the command line

A Splunk admin user with privilege to write to disk on a Splunk instance can execute this command.

In the command line, type the following CLI command:

splunk edit user <username> -auth admin:<admin_password> -password  <password>
PREVIOUS
Unlock a user password
  NEXT
Manage out of sync passwords in a Search Head Cluster

This documentation applies to the following versions of Splunk® Enterprise: 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.3.0, 7.3.1


Comments

Thanks for your feedback everyone, we've updated the docs.

Jworthington splunk, Splunker
March 12, 2019

Version 7.2.3 Argument works with "-password", not "--newpassword"

Johnhsu
March 10, 2019

Hi Vcorral,
Thanks for response, now this command working: splunk edit user admin -password Newpassword -role admin -auth admin:Oldpassword

Rajasekhar14
February 26, 2019

Rajasekhar14,

I am not sure if this is still an issue, but I experienced the same issue you described. I was able to change the admin password on my Splunk instance using the following:
splunk edit user admin -password <password> -role admin -auth admin:<admin_password>

Vcorral
February 5, 2019

Rajasekhar14

Okay, thanks for the info. I'm reaching out to development to see what might be causing this issue. I'll let you know what i find out!

Jworthington splunk, Splunker
January 7, 2019

I'm able to change the password in Splunk Web, but not in CLI.

Rajasekhar14
December 27, 2018

Hi Rajasekhar14,
I'd be curious to know if you are able to change the password in Splunk Web. If not, it could be a permissions issue.

Jworthington splunk, Splunker
December 21, 2018

i enter
splunk edit user admin -auth admin:changeme --newpassword newpassword
Argument "-newpassword" is not supported by this handler.

Rajasekhar14
December 21, 2018

Hi Rajasekhar14,

Did you include two dashes before the "newpassword" argument? One dash does not work. Thanks.

Malmoore, Splunker
December 17, 2018

when using the CLI, it giving the this error,
Argument "-newpassword" is not supported by this handler

Rajasekhar14
December 12, 2018

Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters