How to Create Account on Zimbra using zmprov Tool

Share this Article :

zmprovThe zmprov command is a tool that can performs all provisioning tasks in Zimbra LDAP, including creating accounts, aliases, domains, distribution lists, and calendar resources. Each operation or command is invoked through command-line options, each of which has a long name and a short name. In this post i will share on how to create an account on Zimbra Collaboration Suite using zmprov command tool :

1. Login as zimbra user :

[[email protected] ~]# su - zimbra

2. Perform the following zmprov tool to create zimbra account with display name but without password. If the zimbra mail host is connected to external ldap, set password is not required :

[[email protected] ~]$ zmprov ca [email protected] "" displayName "Demo Account"

3. If the account([email protected]) is using the zimbra LDAP password (internal), you can use this command to change any password. Simply enter the address of the password to be changed as below :
SetPassword = sa
zmprov sp {[email protected]} {password}

[[email protected] ~]$ zmprov sp [email protected] password

Leave a Reply