- This is certified documentation and is protected for editing by Zimbra Employees & Moderators only.

- This article is a Work in Progress, and may be unfinished or missing sections.

Purpose

Sometimes you need to change the password of one of your users, this can be done using the Admin Console, but sometimes the password that you lost is from the administrator and you can't login into the Admin Console. This KB contains the instructions how to change the password of any User or Administrator using the CLI.

Resolution

To reset the password of any user, use the zmprov with the attribute setPassword or sp using the abbreviation:

su - zimbra
zmprov sp <user or admin email address> <new password>

Also, you can obtain a list of all Administrators with the next command:

su - zimbra
zmprov gaaa

Check the new password in the Admin Console or in the Web Client
To access the Admin Console: