Security

remove passwd file from /etc but can't initial the password for splunk again, why?

haqi
New Member

1, delete the passwd with non-root account
2, splunk stop and splunk start again
3, try to login in web browser with initial account(admin, changeme) but failed,

what's the possible reason for that?

0 Karma

mayurr98
Super Champion

which version of Splunk are you using?

If you are using latest version of splunk i.e. 7.1 then follow this steps from the below link:
https://answers.splunk.com/answers/834/how-to-reset-the-admin-password.html

OR

To reset the admin password:

1)Stop splunk service

2)Move the $SPLUNK_HOME/etc/passwd file to $SPLUNK_HOME/etc/passwd.bak

3)Start Splunk.
After the restart you should be able to login using the default login (admin/changeme).
Let me know if this helps!

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...