# 'You do not have permission to access the requested page' after ELK Docker Compose tutorial

**URL:** <https://discuss.elastic.co/t/you-do-not-have-permission-to-access-the-requested-page-after-elk-docker-compose-tutorial/297171>\
**Category:** Kibana\
**Tags:** elastic-stack-security, docker\
**Created:** [February 14, 2022, 5:00pm UTC](https://discuss.elastic.co/t/you-do-not-have-permission-to-access-the-requested-page-after-elk-docker-compose-tutorial/297171 "2022-02-14T17:00:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JaspervLeeuwen](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@JaspervLeeuwen](https://discuss.elastic.co/u/JaspervLeeuwen)\
**Post date:** [February 14, 2022, 5:00pm UTC](https://discuss.elastic.co/t/you-do-not-have-permission-to-access-the-requested-page-after-elk-docker-compose-tutorial/297171/1 "2022-02-14T17:00:28Z")

</div>

I have followed the guide on installing the Elastic Stack using Docker Compose ([Running the Elastic Stack ("ELK") on Docker | Getting Started [8.0] | Elastic](https://www.elastic.co/guide/en/elastic-stack-get-started/current/get-started-stack-docker.html#get-started-docker-tls)). When I try to sign in Kibana using kibana\_system as username and the password I put in the .env file, it shows the message: 'You do not have permission to access the requested page. Either go back to the previous page or log in as a different user.'

Am I doing something wrong? How to enter Kibana? Thank you in advance.

Log:  
es01\_1 | {"@timestamp":"2022-02-14T16:53:30.125Z", "log.level": "INFO", "message":"Authentication of [elastic] was terminated by realm [reserved] - failed to authenticate user [elastic]", "ecs.version": "1.2.0","service.name":"ES\_ECS","event.dataset":"Elasticsearch.server","process.thread.name":"Elasticsearch[es01][system\_critical\_read][T#1]","log.logger":"org.Elasticsearch.xpack.security.authc.RealmsAuthenticator","Elasticsearch.cluster.uuid":"LWRdGxHmStC4Lo5NR6DtGA","Elasticsearch.node.id":"i80kAs8dRNuotgvptZApCA","Elasticsearch.node.name":"es01","Elasticsearch.cluster.name":"docker-cluster"}

---

<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:** [February 15, 2022, 12:53am UTC](https://discuss.elastic.co/t/you-do-not-have-permission-to-access-the-requested-page-after-elk-docker-compose-tutorial/297171/2 "2022-02-15T00:53:51Z")

</div>

> [@JaspervLeeuwen](#):
>
> When I try to sign in Kibana using kibana\_system as username and the password I put in the .env file

From the doc you linked to:

> You must use the `ELASTIC_PASSWORD` value for further interactions with the cluster. The `KIBANA_PASSWORD` value is only used internally when configuring Kibana.

You should not try to login to Kibana using `kibana_system` that is a user that is internal to Kibana and is not intended for users.  
You should log in to Kibana as the `elastic` user.

---

<div class="post-metadata">

**Author:** ![JaspervLeeuwen](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@JaspervLeeuwen](https://discuss.elastic.co/u/JaspervLeeuwen)\
**Post date:** [February 15, 2022, 8:51am UTC](https://discuss.elastic.co/t/you-do-not-have-permission-to-access-the-requested-page-after-elk-docker-compose-tutorial/297171/3 "2022-02-15T08:51:27Z")

</div>

Logging in using elastic as username and the password I put in the .env file doesn't work either. In contrast to logging in with kibana\_system it shows the message: 'Username or password is incorrect. Please try again.'.

Also using just kibana, the containername, clustername or nodename as username and/or using the password I put in the .env file as elastic password or changeme doesn't work.

---

<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 15, 2022, 8:52am UTC](https://discuss.elastic.co/t/you-do-not-have-permission-to-access-the-requested-page-after-elk-docker-compose-tutorial/297171/4 "2022-03-15T08:52:01Z")

</div>

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