Installation

How to Retrieve Splunk admin password

ramprakash
Explorer

Hi,

In our Splunk Architecture Indexers were setup in 2015 and now we need to put manual detention on one of the indexers but I am not able to do this as I don't know the admin password.

Can someone please help to retrieve.

B.R

Labels (3)
Tags (1)
0 Karma

Vardhan
Contributor

Hi,

change the admin password and restart the service then you can able to put the server in manulal detention.Please follow the below steps.

open the command prompt/terminal of your system. Find the passwd file( $SPLUNK_HOME/etc/passwd ) of Splunk and rename it as passwd.bk.

mv /opt/splunk/etc/passwd  /opt/splunk/etc/passwd.bk

Create a .conf file names user-seed.conf  in your $SPLUNK_HOME/etc/system/local directory.

 cd /opt/splunk/etc/system/local/user-seed.conf

[user_info]

USERNAME=admin

PASSWORD=<new_password>

/opt/splunk/bin/splunk restart

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...