> For the complete documentation index, see [llms.txt](https://docs.vibeshost.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vibeshost.com/gtq/quickstart/change-user-password.md).

# Change user password

***

{% tabs %}
{% tab title="Logged in as Root" %}
If you're already logged in as the root user or can switch to it, follow these steps:

**Steps:**

1. Open a terminal.
2. Run the following command:

   ```bash
   passwd
   ```
3. You will be prompted to enter a new password. Enter it, then confirm by typing it again.
4. After confirming, the root password will be changed.
   {% endtab %}

{% tab title="Using a Sudo-enabled Account" %}
If you’re logged in as a non-root user but have sudo privileges, you can still change the root password:

**Steps:**

1. Open a terminal.
2. Run the following command:

   ```bash
   sudo passwd root
   ```
3. You will be asked for your user's password to authenticate the `sudo` command.
4. Then, you will be prompted to enter the new root password and confirm it.
5. Once done, the root password will be changed.
   {% endtab %}
   {% endtabs %}
