# Forgot root password

**URL:** <https://meta.discourse.org/t/forgot-root-password/188092>\
**Category:** Support\
**Created:** [April 26, 2021, 1:54am UTC](https://meta.discourse.org/t/forgot-root-password/188092 "2021-04-26T01:54:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![zyouchi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zyouchi/32/99141_2.png) [@zyouchi](https://meta.discourse.org/u/zyouchi)\
**Post date:** [April 26, 2021, 1:54am UTC](https://meta.discourse.org/t/forgot-root-password/188092/1 "2021-04-26T01:54:31Z")

</div>

I forgot my root password and cannot log in when I execute the following command.

> ssh root@XXX.XXX.XXXX

Is there a way to confirm or change my password?

---

<div class="post-metadata">

**Author:** ![zyouchi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zyouchi/32/99141_2.png) [@zyouchi](https://meta.discourse.org/u/zyouchi)\
**Post date:** [April 26, 2021, 1:56am UTC](https://meta.discourse.org/t/forgot-root-password/188092/2 "2021-04-26T01:56:04Z")

</div>

Also, do you know the minimum root password requirements for installing Discorse?  
I will do my best to remember.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [April 26, 2021, 3:28am UTC](https://meta.discourse.org/t/forgot-root-password/188092/3 "2021-04-26T03:28:42Z")

</div>

It depends on your host. If it’s digitalocean they have a reset password option on their control panel. Others will have their own way.

---

<div class="post-metadata">

**Author:** ![hawm](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hawm](https://meta.discourse.org/u/hawm)\
**Post date:** [April 26, 2021, 4:09am UTC](https://meta.discourse.org/t/forgot-root-password/188092/4 "2021-04-26T04:09:36Z")

</div>

Contact the hosting provider to reset it, and i recommand you should using a SSH Key instead of password.

---

<div class="post-metadata">

**Author:** ![zyouchi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zyouchi/32/99141_2.png) [@zyouchi](https://meta.discourse.org/u/zyouchi)\
**Post date:** [May 2, 2021, 3:36pm UTC](https://meta.discourse.org/t/forgot-root-password/188092/5 "2021-05-02T15:36:10Z")

</div>

thats work!! thank you @pfaffman .

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [June 1, 2021, 3:37pm UTC](https://meta.discourse.org/t/forgot-root-password/188092/6 "2021-06-01T15:37:01Z")

</div>

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