Reset or Change the zadmin password

T.he default zadmin password is randomly set during installation and saved in the 'passwords.txt' file located on your server here; /root/passwords.txt
(This file also includes the randomly created core passwords for MySQL, Postfix, ProFTPd and Roundcube root database users.)

The master admin login name is zadmin (this can not be changed). Your new zadmin password was displayed at the end of the Sentora installation and it is stored in file /root/passwords.txt as mentioned above.

Using the 'Forgot Password' method (preferred):

This is the best and easiest way to change the zadmin password.

  1. At the Sentora panel login screen, click 'Forgot Password'
  2. You will be asked to enter your email address that is set in your zadmin account.
  3. An email will be sent to that account with a link to click on to reset your password.

This method will NOT change the server crypto key and your clients will not have to reset their passwords.

If you can not remember the email or do not have access to the account, you can find or change it directly in the database using phpMyAdmin using the root user and the root password (in the passwords.txt file).

  1. Log in to phpMyAdmin as root.
  2. Navigate to sentora -> sentora_core -> x_accounts and view the email for zadmin (It should be the first row, fourth column labeled: ac_email_vc.)
  3. Double click the email to change it if you need too then click anywhere outside the box to save it.
  4. Follow the steps above to reset it.

Manually resetting the zadmin password using the command line or console:

This method will also reset your Sentora's security hash key! Your client's will need to reset their passwords!

If you lost your zadmin password, you can reset it from the command line. Log in to your server using SSH or open a console window if you have physical access to your server, then type in:

 setzadmin --set new-password

with new-password  being your new password.

Use a mix of characters A-Z, a-z, 0-9 with no spaces. AVOID any single word or name, avoid any password length smaller than 8 characters.

Do not forget that the security of your server relies on it (and that you are legally responsible for its use !).

NOTICE: Changing the zadmin password using this method will also create a new server crypto key which will require your clients to reset their passwords!

 

PenWant to help ? Click here to report mistake or to send complement to add.