# Invalid credentials docker set up

**URL:** <https://community.graylog.org/t/invalid-credentials-docker-set-up/30544>\
**Category:** Graylog Central (peer support)\
**Created:** [November 3, 2023, 9:07pm UTC](https://community.graylog.org/t/invalid-credentials-docker-set-up/30544 "2023-11-03T21:07:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrPierre](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/mrpierre/32/15710_2.png) [@MrPierre](https://community.graylog.org/u/MrPierre)\
**Post date:** [November 3, 2023, 9:07pm UTC](https://community.graylog.org/t/invalid-credentials-docker-set-up/30544/1 "2023-11-03T21:07:46Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/1/1fdf0f75ed6bd87e5948b517043195f8fda9ea17.png)

I cant login in the web interface using admin as username and my secret password. Am I missing an env variable or something?

---

<div class="post-metadata">

**Author:** ![gsmith](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/gsmith/32/1222_2.png) [@gsmith](https://community.graylog.org/u/gsmith)\
**Post date:** [November 4, 2023, 3:15am UTC](https://community.graylog.org/t/invalid-credentials-docker-set-up/30544/2 "2023-11-04T03:15:54Z")

</div>

Hey @MrPierre

Use this command below and then Copy & Past it into you compose file.

```auto
echo -n THIS_IS_MY_ADMIN_PASSWORD | shasum -a 256

```

Results

```auto
root_password_sha2 =ef92b778bafe771e89245b89ecbc08a44a4e166c06659911881f383d4473e94f

```

Side note, in linux if you use symbols you need to use single quotes on both ends.

```auto
'P@$$word$%^&'

```

This also works good

```auto
echo -n "Enter Password: " && head -1 </dev/stdin | tr -d '\n' | sha256sum | cut -d" " -f1

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [November 18, 2023, 3:16am UTC](https://community.graylog.org/t/invalid-credentials-docker-set-up/30544/3 "2023-11-18T03:16:24Z")

</div>

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