Find or reset the administrator password

For server administrators · Updated 2026-10-29

On this page
  1. Find the generated password
  2. Reset the password
  3. Good to know
  4. Common questions

If the installer generated your password, it is saved on the server. If you chose it yourself or lost it, set a new one from the command line as root.

Find the generated password

  1. Log in to the server over SSH as root.
  2. Run:
    cat /root/panel-install-summary.txt
  3. The line Admin password: shows the password, and Admin user: the username.

The file is readable by root only. It has no password line when you chose the password yourself.

Reset the password

  1. Log in to the server over SSH as root.
  2. Run, with your admin username (default root) and the new password in single quotes:
    sahaab passwd root 'NewPassword!2026'
  3. The command answers Password updated for root. Log in with the new password.

The new password needs at least 8 characters with 3 of: lowercase letters, uppercase letters, digits and symbols.

Good to know

  • To change the password while you are logged in, open Password & Language (section Account) in the admin panel.
  • Lost the phone with your two-factor app? Turn two-factor off for the user on the server:
    sahaab 2fa:disable root
  • Locked out by the admin panel's IP access list? Clear the list:
    sahaab admin:allow-ip clear

Common questions

The command says "No such user".

The username is not the one you used at install time. Check Admin user: in /root/panel-install-summary.txt.

Does this change the server's root password for SSH?

No. It changes only the panel login.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.