# Cannot log into elastic with default login

**URL:** <https://discuss.elastic.co/t/cannot-log-into-elastic-with-default-login/73740>\
**Category:** Elasticsearch\
**Created:** [February 2, 2017, 6:56pm UTC](https://discuss.elastic.co/t/cannot-log-into-elastic-with-default-login/73740 "2017-02-02T18:56:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sredne](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sredne](https://discuss.elastic.co/u/sredne)\
**Post date:** [February 2, 2017, 6:56pm UTC](https://discuss.elastic.co/t/cannot-log-into-elastic-with-default-login/73740/1 "2017-02-02T18:56:10Z")

</div>

Hi all,

I decided to install X-pack on one of my client nodes to enable monitoring/security on my cluster. I've tried to access it with the default username/password "elastic/changeme" and it refuses to login with those credentials. Is there a way to reset this password to the default to make sure it was not changed? I've attempted to change the password by enabling anonymous users but if I do it then I get the error:

```
{"error":{"root_cause":[{"type":"illegal_state_exception","reason":"password cannot be changed as user service has not been 
started"}],"type":"illegal_state_exception","reason":"password cannot be changed as user service has not been started"},"status":500}

```

Any suggestions?

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [February 2, 2017, 7:58pm UTC](https://discuss.elastic.co/t/cannot-log-into-elastic-with-default-login/73740/2 "2017-02-02T19:58:01Z")

</div>

Xpack needs to be installed on all of your nodes.

---

<div class="post-metadata">

**Author:** ![sredne](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@sredne](https://discuss.elastic.co/u/sredne)\
**Post date:** [February 3, 2017, 3:34pm UTC](https://discuss.elastic.co/t/cannot-log-into-elastic-with-default-login/73740/3 "2017-02-03T15:34:39Z")

</div>

That was the issue. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 3, 2017, 3:34pm UTC](https://discuss.elastic.co/t/cannot-log-into-elastic-with-default-login/73740/4 "2017-03-03T15:34:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
