Sometimes you may need to reset the password of the admin account in Zimbra from CLI.
To get the list of all administrators in Zimbra, you can use:
su – zimbra
To reset the password of the admin account, use:
zmprov sp <firstname.lastname@example.org> <your desired password>
Hope this will help you all.