# Resetting WEB Interface Credentials

You may encounter a situation where you have forgotten the username or password for the MikoPBX web interface. This guide explains how to reset them.

<figure><img src="/files/5JlfW5dZl5wjf5SgZyOT" alt=""><figcaption><p>Authorization failed</p></figcaption></figure>

## Solution

1. Go to the MikoPBX console.

{% hint style="info" %}
The location of the console depends on the installation method:

* If installed on a physical server - on the monitor connected to the server.
* If installed in a virtual machine - in the virtual machine management console.
* If installed in the cloud - in the cloud serial console (also in the virtual machine management console).
* The reset method when installing in a Docker container is described in more detail in the current documentation.

In addition, the console can be accessed using SSH authorization. You can read more about SSH connection [here](/mikopbx/english/faq/troubleshooting/connecting-to-a-pbx-using-ssh.md).

To learn more about MikoPBX, please refer to the [following documentation](/mikopbx/english/readme/getting-to-know-mikopbx.md).
{% endhint %}

<figure><img src="/files/pTSNhqZUSSHKaswjt9DD" alt=""><figcaption><p>MikoPBX Console</p></figcaption></figure>

2. Select the option "**\[7] Reset password for the web interface**".
3. Type **y** to confirm resetting the login and password.

<figure><img src="/files/YdMMGYsCr7E8cBi5LtSw" alt=""><figcaption><p>Password reset confirmation</p></figcaption></figure>

4. Log in to the web interface using the default credentials:

{% hint style="info" %}
**Default web interface credentials:**

* **Username**: admin
* **Password**: admin
  {% endhint %}

After the first login, you will be prompted to change the credentials.

<figure><img src="/files/AzRKaag9YIM25K3WiEQc" alt=""><figcaption><p>Changing your login information</p></figcaption></figure>

## Resetting the Password in a Docker Container

1. Access the **container shell**:

```bash
docker exec -it mikopbxContainerNameOrID sh
```

{% hint style="success" %}
Replace *mikopbxContainerNameOrID* with the name or ID of your container.
{% endhint %}

2. Launch the menu using this command:

```bash
/etc/rc/console_menu
```

3. Navigate to **"\[7] Reset password for the web interface"**.
4. Enter **"y"** to confirm resetting the username and password.
5. Log in to the web interface using the default credentials:

{% hint style="info" %}
**Default web interface credentials**:

* **Username**: admin
* **Password**: admin
  {% endhint %}

Change the login credentials after the first authorization:

<figure><img src="/files/AzRKaag9YIM25K3WiEQc" alt=""><figcaption><p>Changing your login information</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mikopbx.com/mikopbx/english/faq/management/password-reset.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
