HiPanel
Sign in with your admin account.
Reset Password
Reset password from server: use SSH/root access when the current admin password is lost. Replace admin if the account uses a different username.
sudo install -m 0600 -o root -g root /dev/null /root/hipanel-admin-password-reset
sudo sh -c 'openssl rand -base64 36 > /root/hipanel-admin-password-reset'
sudo /opt/hipanel/bin/hipanel auth reset-password \
-config /etc/hipanel/config.json \
-username admin \
-password-file /root/hipanel-admin-password-reset
sudo cat /root/hipanel-admin-password-reset
Use the printed password to sign in, then store it securely and remove or rotate the reset file. The reset invalidates existing sessions and keeps MFA enabled if it was already enabled.