Resetting password in BeAdmin panel

Step-by-step guide to recovering access to your account.

If you’ve forgotten your BeAdmin panel password or can’t log in, you can reset it using one of two methods:

  • Through the “Reset Password” feature (recommended and easiest).
  • Through the server terminal (if SMTP relay is not configured).

Method 1: Using the “Reset Password” Feature

Attention

This method only works if SMTP relay is configured in the panel.
Check out this guide: How to set up SMTP relay in BeAdmin.

  1. Go to the BeAdmin login page.
  2. Click the Reset Password button.

BeAdmin login page with reset button “Reset Password” button on the login page

  1. Enter the email address of the user whose password needs to be reset.

BeAdmin password reset form Email input form for password reset

  1. A password reset link will be sent to the specified email.
  2. Follow the link and set a new password.

Method 2: Reset via Server Terminal (if SMTP relay is not configured)

Connect to the server via SSH. More details: Connecting to VPS or dedicated server via SSH on Windows.

User data in BeAdmin is stored in an SQLite database at:
/var/lib/beadmin/data.sqlite

  1. Install the sqlite3 utility (if not already installed):
apt update
apt install sqlite3 -y
  1. Generate a hash for the new password (replace Newpass with your desired password):
python3 - <<'EOF'
import bcrypt
pw = b"Newpass"
print(bcrypt.hashpw(pw, bcrypt.gensalt()).decode())
EOF

Example output (your hash will be different):

$2b$12$dM8jH35tJjVgF5os8dvn4.ujXA8cNe8KKFz5/ZdJx4xiWtVX/GS6y

Copy this hash.

  1. Connect to the database:
sqlite3 /var/lib/beadmin/data.sqlite
  1. Run the update query (replace the hash and email with your own):
UPDATE users
SET password='$2b$12$dM8jH35tJjVgF5os8dvn4.ujXA8cNe8KKFz5/ZdJx4xiWtVX/GS6y'
WHERE email='user@example.com';
  1. Exit sqlite3:
.exit

Useful Notes

  • After resetting the password via terminal, it’s recommended to change it again in the panel interface to something more convenient.
  • If you’re unsure of the user’s email — check it in the database: SELECT email FROM users;.

Help

If you have any questions or need assistance, please contact us through the ticket system — we're always here to help!

Need help?Our engineers will help you free of charge with any question in minutesContact us