# Gray log default username and password not working

**URL:** <https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632>\
**Category:** Graylog Central (peer support)\
**Created:** [January 31, 2019, 2:01pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632 "2019-01-31T14:01:50Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathjnair](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nathjnair](https://community.graylog.org/u/nathjnair)\
**Post date:** [January 31, 2019, 2:01pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/1 "2019-01-31T14:01:50Z")

</div>

I am trying the new graylog 3 preview version [https://packages.graylog2.org/releases/graylog-omnibus/ova/graylog-pre-3.0.0-10.rc.1.ova](https://packages.graylog2.org/releases/graylog-omnibus/ova/graylog-pre-3.0.0-10.rc.1.ova)

I am able to boot the server and bring up the webgui, but not able to log in using default username and password (admin/admin). I tried to reset the password using the graylog-ctl commands but the command is not recognised by the system.

Can any please point me in the right direction to solve this issue.

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [January 31, 2019, 2:26pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/2 "2019-01-31T14:26:32Z")

</div>

the password of your instance is displayed on the console after start!

The OVA has changed in 3.0 but we did not (yet) updated the docs.

---

<div class="post-metadata">

**Author:** ![nathjnair](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nathjnair](https://community.graylog.org/u/nathjnair)\
**Post date:** [January 31, 2019, 2:51pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/3 "2019-01-31T14:51:27Z")

</div>

It was not displayed in my case, please see the attached pic, hut the doucmnet link was there, from there only I got the default password (ubuntu/ubuntu)

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

---

<div class="post-metadata">

**Author:** ![nathjnair](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nathjnair](https://community.graylog.org/u/nathjnair)\
**Post date:** [January 31, 2019, 2:52pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/4 "2019-01-31T14:52:42Z")

</div>

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

The password ubuntu was for console right, but the strange thing is the script graylog-ctl is also not there.

---

<div class="post-metadata">

**Author:** ![daleish](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@daleish](https://community.graylog.org/u/daleish)\
**Post date:** [January 31, 2019, 3:01pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/5 "2019-01-31T15:01:03Z")

</div>

I’m sure I read somewhere that the graylog-ctl was depreciated in version 3.0

---

<div class="post-metadata">

**Author:** ![nathjnair](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nathjnair](https://community.graylog.org/u/nathjnair)\
**Post date:** [January 31, 2019, 3:03pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/6 "2019-01-31T15:03:01Z")

</div>

But the documentation link mentioned in the login screen says we need to change the password using graylog-ctl.

---

<div class="post-metadata">

**Author:** ![daleish](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@daleish](https://community.graylog.org/u/daleish)\
**Post date:** [January 31, 2019, 3:05pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/7 "2019-01-31T15:05:27Z")

</div>

> [@Graylog 3.0 beta ova import problem](https://community.graylog.org/t/graylog-3-0-beta-ova-import-problem/8289/9):
>
> To be fair, we reworked the OVA image completely between the 2.x and the 3.x branch - that is the reason they behave different. I have created an issue for the documentation to have that visible: [https://github.com/Graylog2/documentation/issues/526](https://github.com/Graylog2/documentation/issues/526)@Totally_Not_A_Robot graylog-ctl is dead as it creates more problems than it solves. @harryw the documentation for 3.0 will be “on-point” with the release, we have entered now the code freeze for 3.0 and concentrate on testing, bug fixes and docume…

---

<div class="post-metadata">

**Author:** ![nathjnair](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nathjnair](https://community.graylog.org/u/nathjnair)\
**Post date:** [January 31, 2019, 3:12pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/8 "2019-01-31T15:12:35Z")

</div>

Thanks for clarifying that,is there any other way to login to my system or change the default password. I can login using console, but not through webgui.

---

<div class="post-metadata">

**Author:** ![daleish](https://avatars.discourse-cdn.com/v4/letter/d/ec9cab/32.png) [@daleish](https://community.graylog.org/u/daleish)\
**Post date:** [January 31, 2019, 3:35pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/9 "2019-01-31T15:35:36Z")

</div>

I think you set the password in /etc/graylog/server/server.conf. So if you run sudo nano /etc/graylog/server/server.conf and look for the root\_username and root\_password\_sha2 entries.

You’ll need to first generate then password hash as detailed here: [http://docs.graylog.org/en/3.0/pages/configuration/server.conf.html#general](http://docs.graylog.org/en/3.0/pages/configuration/server.conf.html#general) and then add the hash in at the root\_password\_sha2 entry.

You’ll probably need to restart the server for the changes to take effect.

---

<div class="post-metadata">

**Author:** ![nathjnair](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nathjnair](https://community.graylog.org/u/nathjnair)\
**Post date:** [January 31, 2019, 3:53pm UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/10 "2019-01-31T15:53:10Z")

</div>

Thank you man, I reset the password using above method and it works.

---

<div class="post-metadata">

**Author:** ![Totally\_Not\_A\_Robot](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/totally_not_a_robot/32/3353_2.png) [@Totally\_Not\_A\_Robot](https://community.graylog.org/u/Totally_Not_A_Robot)\
**Post date:** [February 1, 2019, 6:44am UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/11 "2019-02-01T06:44:20Z")

</div>

> But the documentation link mentioned in the login screen says we need to change the password using graylog-ctl.

Ahhh, that’s a fun point 🙂

@Jan: 3.0 is still in beta/RC, but the docs link upon login (of the OVA) points users towards _docs/latest_. And to my knowledge, the “_latest_” always points to the latest stable release. Not to beta docs 🙂

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [February 1, 2019, 8:08am UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/12 "2019-02-01T08:08:10Z")

</div>

@Totally_Not_A_Robot it does not matter where it points - we did not yet updated the OVA Docs.

and you see in the mentioned URL of @daleish that he points to the correct verison.

---

<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:** [February 15, 2019, 8:08am UTC](https://community.graylog.org/t/gray-log-default-username-and-password-not-working/8632/13 "2019-02-15T08:08:13Z")

</div>

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