<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can't log in to splunk in Security</title>
    <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93257#M3063</link>
    <description>&lt;P&gt;Same problem. Not obvious at all! But this answer is correct.&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2016 20:14:26 GMT</pubDate>
    <dc:creator>deveritt</dc:creator>
    <dc:date>2016-05-13T20:14:26Z</dc:date>
    <item>
      <title>Can't log in to splunk</title>
      <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93251#M3057</link>
      <description>&lt;P&gt;i have a slightly different problem. About an hour or two ago, i logged in into Splunk and configured my own password. I tried logging in using my username and password but it says: Invalid username or password.&lt;BR /&gt;
I am 100% sure i typed my accountname and password correct!&lt;BR /&gt;
please help!&lt;BR /&gt;
I also tried using the default username and password, this doesen't work either.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 17:34:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93251#M3057</guid>
      <dc:creator>nils1433</dc:creator>
      <dc:date>2013-10-10T17:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can't log in to splunk</title>
      <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93252#M3058</link>
      <description>&lt;P&gt;Can you login as admin?&lt;BR /&gt;
Are there any other users with admin rights?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 17:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93252#M3058</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-10-10T17:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can't log in to splunk</title>
      <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93253#M3059</link>
      <description>&lt;P&gt;not sure why your configured password isn't working, but you can start over: &lt;/P&gt;

&lt;P&gt;1) stop Splunk (./splunk stop) &lt;/P&gt;

&lt;P&gt;2) make a backup of $SPLUNK_HOME/etc/passwd, then remove that file.  &lt;/P&gt;

&lt;P&gt;3) restart Splunk and log in again with the default admin/changeme. &lt;/P&gt;

&lt;P&gt;if you have other (working) users defined in the system, you can copy them out of your backed-up copy of the passwd file and paste them back in after you restart. &lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 17:49:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93253#M3059</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2013-10-10T17:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can't log in to splunk</title>
      <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93254#M3060</link>
      <description>&lt;P&gt;so, here's what happened:&lt;/P&gt;

&lt;P&gt;I got a mail from a comment on my post asking: Can you log in as administrator?&lt;/P&gt;

&lt;P&gt;So i thought by myself: i havent tried using my own password and administrator accunt.&lt;BR /&gt;
that worked!&lt;/P&gt;

&lt;P&gt;Thanks for helping me, i'm fairly new to splunk, and the whole IT world, with just 2 years of education but big plans in the future!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 18:09:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93254#M3060</guid>
      <dc:creator>nils1433</dc:creator>
      <dc:date>2013-10-10T18:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can't log in to splunk</title>
      <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93255#M3061</link>
      <description>&lt;P&gt;your reply sparked my solution, it was the administrator account with my own password!&lt;/P&gt;

&lt;P&gt;stupid me!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2013 18:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93255#M3061</guid>
      <dc:creator>nils1433</dc:creator>
      <dc:date>2013-10-10T18:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can't log in to splunk</title>
      <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93256#M3062</link>
      <description>&lt;P&gt;I know this thread is old but it is the first to pop up on Google.&lt;/P&gt;

&lt;P&gt;In my case I had performed the following steps on my AWS Splunk Enterprise instance:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Cloned admin account&lt;/LI&gt;
&lt;LI&gt;On the cloned admin account setup a named user.&lt;/LI&gt;
&lt;LI&gt;Stored credentials in a password manager.&lt;/LI&gt;
&lt;LI&gt;Logged out of the admin account and logged in with new admin account.&lt;/LI&gt;
&lt;LI&gt;Deleted the default admin account.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I didn't have any issues but after updating the instance and rebooting I could not login - "Invalid Username or Password"&lt;/P&gt;

&lt;P&gt;I was about to perform the steps provided by @piebob but did the following instead. Also, I notice &lt;STRONG&gt;$SPLUNK_HOME&lt;/STRONG&gt; is referenced a lot on these boards but I think there are people who aren't sure where the home path hence the reason for my find command - I might be easy to mix up the OS /etc/passwd file. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sudo find / -name passwd
sudo cat /opt/splunk/etc/passwd
sudo cp /opt/splunk/etc/passwd /opt/splunk/etc/passwd.BACKUP
sudo /opt/splunk/bin/splunk stop
sudo /opt/splunk/bin/splunk start
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After stopping and starting again I could login normally. If I didn't have a million other things to do I would troubleshoot but for now, I can login.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 07:33:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93256#M3062</guid>
      <dc:creator>asbetsplunk</dc:creator>
      <dc:date>2016-04-26T07:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can't log in to splunk</title>
      <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93257#M3063</link>
      <description>&lt;P&gt;Same problem. Not obvious at all! But this answer is correct.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 20:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93257#M3063</guid>
      <dc:creator>deveritt</dc:creator>
      <dc:date>2016-05-13T20:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can't log in to splunk</title>
      <link>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93258#M3064</link>
      <description>&lt;P&gt;After reading as similar post here I used 'admin' and the password I originally set up for my user. Not obvious after first logging in successfully with my own un and pw, then the same un and pw failing after a restart, but there you go.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 21:17:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Can-t-log-in-to-splunk/m-p/93258#M3064</guid>
      <dc:creator>deveritt</dc:creator>
      <dc:date>2016-05-13T21:17:01Z</dc:date>
    </item>
  </channel>
</rss>

