Find or reset the administrator password
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
- Log in to the server over SSH as root.
- Run:
cat /root/panel-install-summary.txt - 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
- Log in to the server over SSH as root.
- Run, with your admin username (default
root) and the new password in single quotes:sahaab passwd root 'NewPassword!2026' - 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.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to log in to the admin panel for the first time
Open the admin panel on port 2087, get past the first certificate warning and sign in with the username and password from the installer.
- How to change your admin password and panel language
Change the password you log in to the admin panel with, pick the language of your own panel, and set the default language for login pages and new users.
- How to install the control panel on Ubuntu
Install the control panel on a fresh Ubuntu 24.04 or 22.04 server with one command, answer the five setup questions and find your admin login.