How To Create an Admin Account

How to create an Admin account

   KB 1396        Last updated on 2024-03-1  




0.00
(0 votes)

In the examples below replace example.com with your actual domain.

First install `pwgen` command:

  apt install pwgen

This will create an additional admin account with a random password:

 newpass=$(pwgen 16 -n1)
 echo $newpass
 zmprov ca testadmin@example.com "$newpass" zimbraIsAdminAccount TRUE

This will transform a normal existed user account into an admin account (in this example futur-admin will become an admin) :

 zmprov ma futur-admin@example.com zimbraIsAdminAccount TRUE

To change the password for user testadmin@example.com run:

 newpass=$(pwgen 16 -n1)
 echo $newpass
 zmprov sp testadmin@example.com "$newpass"

The admin account admin@example.com was created during installation.

How to regain access to admin account if using external LDAP or Active Directory authentication

In case you are using external LDAP or Active Directory authentication and you have been locked out of your admin account and are unable to unlock via the external LDAP or Active Directory. You can regain access to Zimbra from the command line by creating a new domain and creating a global administrator in the new domain. With that account you can also manage the accounts on your other (locked out)domain.

 zmprov cd temporarydomain.com
 newpass=$(pwgen 16 -n1)
 echo $newpass
 zmprov ca testadmin@temporarydomain.com $newpass zimbraIsAdminAccount TRUE


Verified Against: 4/5/2006 Date Created: {{{2}}}
Article ID: https://wiki.zimbra.com/index.php?title=How_To_Create_an_Admin_Account Date Modified: 2024-03-01



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search