Skip to main content

Reset the admin password

If you forgot the administrator password and cannot sign in, you can reset it from the server console — the same server where Qubix is installed. The reset runs locally on the box and does not require access to the panel.

Another administrator can help — no console needed

If a second administrator (or a teamlead with the right permissions) can still sign in, they can change your password for you in the panel, no server access required. See Users. The console reset below is for the case where no one can get in.

Reset from the server console

You will need SSH access to the server where Qubix runs, and the Qubix stack must be running.

  1. Connect to the server over SSH (in an interactive session) and run:

    Bash
    curl -sSL https://qubix.pro/reset-password.sh | bash
  2. The tool prints the list of administrator accounts. Type the number of the one whose password you want to reset and press Enter.

  3. Enter the new password — at least 8 characters — and repeat it. The input is hidden as you type. To have a strong password generated for you instead, leave it empty and press Enter; the tool prints the generated password once.

  4. Confirm. The new password takes effect within a few seconds — there is nothing to restart. Sign in at your panel's address with the same email and the new password.

Clear the password from your screen

If you let the tool generate a password, it is printed to the console. Copy it, then clear your terminal scrollback and history so it does not linger on the screen or in your shell log.

Reset a specific administrator directly

To skip the list and target one account by email, pass it as an argument:

Bash
curl -sSL https://qubix.pro/reset-password.sh | bash -s -- --email [email protected]

The rest of the flow is the same — enter the new password (or leave it empty to generate one) and confirm.

Run it in an interactive terminal

The password prompt needs a real terminal. Run the command in an interactive SSH session (ssh -t if needed) — not from a script, cron job, or other non-interactive context, where it cannot read the hidden input.

What's next