# How to change elastic password after installing basic license?

**URL:** <https://discuss.elastic.co/t/how-to-change-elastic-password-after-installing-basic-license/105679>\
**Category:** Elasticsearch\
**Created:** [October 29, 2017, 9:39pm UTC](https://discuss.elastic.co/t/how-to-change-elastic-password-after-installing-basic-license/105679 "2017-10-29T21:39:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![majid\_zarrin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majid_zarrin/32/29103_2.png) [@majid\_zarrin](https://discuss.elastic.co/u/majid_zarrin)\
**Post date:** [October 29, 2017, 9:39pm UTC](https://discuss.elastic.co/t/how-to-change-elastic-password-after-installing-basic-license/105679/1 "2017-10-29T21:39:40Z")

</div>

Hi ,  
I have an Elasticsearch cluster with 5 nodes ( 3 master , 2 data) and I installed Xpack over all nodes,  
Also I installed Kibana and Xpack for Kibana on one of master node.  
then I changed `kibana` default password. after that login inside Kibana Web Console was disabled.

> Login is currently disabled because the license could not be determined.

then I Installed a basic license and I tried to change `elastic` password

```
curl -XPOST 'hostname:port/_xpack/security/user/elastic/_password?pretty' -H 'Content-Type: application/json' -d'
{
  "password": "mypassword"
}'

```

but I got the bellow error.

```
{
  "error" : {
    "root_cause" : [
      {
        "type" : "security_exception",
        "reason" : "current license is non-compliant for [security]",
        "license.expired.feature" : "security"
      }
    ],
    "type" : "security_exception",
    "reason" : "current license is non-compliant for [security]",
    "license.expired.feature" : "security"
  },
  "status" : 403
}

```

for now how could I change the default `elastic` password?  
thanks.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [October 29, 2017, 10:29pm UTC](https://discuss.elastic.co/t/how-to-change-elastic-password-after-installing-basic-license/105679/2 "2017-10-29T22:29:03Z")

</div>

If you installed a basic license, then security is not longer active, and there is no `elastic` user. Consequently there is no password to change.

Your Kibana issue is a different situation. You removed the important part of that error message which said that it could not connect to Elasticsearch. You have some sort of issue with Kibana connecting to Elasticsearch and you'll need to check the logs for more information.

---

<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:** [November 26, 2017, 10:29pm UTC](https://discuss.elastic.co/t/how-to-change-elastic-password-after-installing-basic-license/105679/3 "2017-11-26T22:29:05Z")

</div>

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