Zimbra Tips : Delegated Admin Can Only Change Passwords

Posted by

If you have several admins and want to give access can only change passwords to specific admin, please try this guidance

Create the script

1.touch /srv/admin-pass.sh
2.chmod +x /srv/admin-pass.sh
3.vi /srv/admin-pass.sh

Fill with the following line

01.#!/bin/bash
02.# $1 domain
03.# $2 email
04. 
05.zmprov ma $2 zimbraIsDelegatedAdminAccount TRUE
06.zmprov ma $2 zimbraAdminConsoleUIComponents accountListView
07.zmprov grantRight domain $1 usr $2 +listAccount
08.zmprov grantRight domain $1 usr $2 +listDomain
09.zmprov grantRight domain $1 usr $2 +setAccountPassword
10.zmprov grantRight domain $1 usr $2 +getAccountInfo

Save and try the script

/srv/admin-pass.sh imanudin.net user1@imanudin.net

Login to Zimbra Admin with user1@imanudin.net. You can see a list of account and when double click or edit, you can only change the password

Good luck 🙂

11 comments

  1. Very good work, congratulations. You have some knowledge of how to restrict the delegate’s right to see the user’s email

  2. Hi,

    If I am using 2 domains in Zimbra, I want to access 1 domain with 1 administrator ID and another domain will access by another administrator ID. But these two admin IDs have no access to each other domain.

  3. Hello Iman,

    I was able to sucessfully create Delegated Admin Can Only Change Passwords. But the option change the password at next login doesn’t work. Can you please help me.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.