Reset an User or Administrator password
Reset an User or Administrator password
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:
https://mail.example.com:7071
To access the Web Client:
https://mail.example.com
Remember that the Administrative Console or the Web Client, sometimes, requires a full email address as the login name, so you may be using the correct password and the wrong login.
Additional Content
- Administration Guide, Appendix A Command Line Utilities - https://www.zimbra.com/docs/ne/8.6.0/administration_guide/wwhelp/wwhimpl/js/html/wwhelp.htm#href=860_admin_ne.Appendix_A%E2%80%82Command_Line_Utilities.html
- Wiki article about zmprov - https://wiki.zimbra.com/wiki/Zmprov