Archive
Highlighted

How do I log in if I get "No users exist" error message?

Splunk Employee
Splunk Employee

I'm an admin and I installed Splunk without an admin password. It’s now saying that "No users exist" and no one can login. What should I do?

Tags (1)
Highlighted

Re: How do I log in if I get "No users exist" error message?

SplunkTrust
SplunkTrust

Can you try login with admin:changme credentials ?

0 Karma
Highlighted

Re: How do I log in if I get "No users exist" error message?

Splunk Employee
Splunk Employee

The "No users exist" message is only present in version 7.1 and for new installations of 7.1 admin:changeme no longer exists. There is no default password for the admin account and if a password is not provided during installation/startup, then no user is created.

You can set an admin password using the existing user-seed.conf. Add the username and password under [userinfo]. Splunk will require a restart after. A better way is to use the new hash generator so that you don’t add a cleartext password. See the docs for a full explanation. http://docs.splunk.com/Documentation/Splunk/7.1.0/Security/Secureyouradminaccount#CreateapasswordwhenstartingSplunkforthefirsttime

Highlighted

Re: How do I log in if I get "No users exist" error message?

SplunkTrust
SplunkTrust

Thanks @tchimento. Good to know information before starting to work with Splunk 7.1.

0 Karma
Highlighted

Re: How do I log in if I get "No users exist" error message?

Splunk Employee
Splunk Employee

@tchimento, @somesoni2
During a scripted forwarder install, I experienced the same issue with package :“Splunkforwarder-7.1.1-8f0ead9ec3db-Linux-x86_64.tgz.”:
I will run a scripted install this morning with a field for an Admin password and see if the result is different.
You are correct. This is a new issue with 7.1.1
Cheers!

0 Karma
Highlighted

Re: How do I log in if I get "No users exist" error message?

Splunk Employee
Splunk Employee

I recently had this problem. Turns out this is a known issue with a workaround.

Here is the fix.

http://docs.splunk.com/Documentation/Splunk/7.1.1/ReleaseNotes/KnownIssues

Create a $SPLUNK_HOME/etc/system/local/user-seed.conf and restart Splunk

[user_info]
PASSWORD = <yourpassword>
Highlighted

Re: How do I log in if I get "No users exist" error message?

Path Finder

Thanks jhamblin - your answer helped me solve the mystery .

0 Karma
Highlighted

Re: How do I log in if I get "No users exist" error message?

Engager

AND make sure the password meets the requirements (8 or more printable ascii characters).

0 Karma