Security

How do I reset only admin password?

spl109
Explorer

The splunk version is 6.6.3.

I have two user accounts. admin and test_admin.

When the admin password is reset, the test_admin account is deleted.

Question) Can I reset only the admin password?

0 Karma

iamarkaprabha
Contributor

Hi ,

You can try resetting the admin password as per the guideline of below post
https://answers.splunk.com/answers/834/how-to-reset-the-admin-password.html

How to do this in 7.1 + :

Stop Splunk Enterprise
Find the passw file for your instance ($SPLUNK_HOME/etc/passwd) and rename it to passwd.bk
Create a file named user-seed.conf in your $SPLUNK_HOME/etc/system/local/ directory.
In the file add the following text:

[user_info]
PASSWORD = NEW_PASSWORD

In the place of "NEW_PASSWORD" insert the password you would like to use.
Start Splunk Enterprise and use the new password to log into your instance from Splunk Web.
If you previously created other users and know their login details, copy and paste their credentials from the passwbk file into the passwd file and restart Splunk.

Versions prior to 7.1 :

Stop Splunk Enterprise
Find the passw file for your instance ($SPLUNK_HOME/etc/passw) and rename it to passw.bk
Start Splunk Enterprise and login to your instance from Splunk Web using the default credentials of admin/changeme.
You will be asked to enter a new password for your admin account.
If you previously created other users and know their login details, copy and paste their credentials from the passw.bk file into the passwd file and restart Splunk.

spl109
Explorer

Thank you for answer.

But
If you do this the test_admin account will be deleted.

I want to delete only the password for the admin account.

0 Karma

iamarkaprabha
Contributor
splunk edit user admin -password newPassowrd  -auth admin:changeme 
0 Karma

iamarkaprabha
Contributor

i believe you can edit for admin also , didn't try for test_admin , i have to check

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...