How To Create an Admin Account: Difference between revisions

No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This will create an additional admin account with the password of 'test123':
{{BC|Community Sandbox}}
__FORCETOC__
<div class="col-md-12 ibox-content">
=How to create an Admin account=
{{KB|{{Unsupported}}|{{ZCS 10.0}}|{{ZCS 9.0}}|}}


  zmprov ca testadmin@domain.com test123 zimbraIsAdminAccount TRUE
In the examples below replace example.com with your actual domain.


To change the password run:
First install `pwgen` command:
  apt install pwgen


   zmprov sp testadmin@domain.com NEW_PASSWORD
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


The admin account admin@domain.com was created during installation.
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
 
 
{{Article Footer|4/5/2006}}
 
[[Category:Administration]]

Latest revision as of 10:56, 1 March 2024

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