How to Get all Admin Accounts in Zimbra

Assalamualaikum,

Below command will list all the admin accounts in Zimbra.

zmprov gaaa

syntax:
zmprov (Provisioning)
gaaa (GetAllAdminAccounts)

More references for zmprov:

Account Provisioning Commands
CreateAccount
ca
Syntax:{name@domain} {password} [attribute1 value1 etc]
Type on one line.
zmprov ca joe@domain.com test123 displayName JSmith
DeleteAccount
da
Syntax:{name@domain|id|adminName}
zmprov da joe@domain.com
GetAccountMembership
gam
{name@domain|id}
GetAccount
ga
Syntax:{name@domain|id|adminName}
zmprov ga joe@domain.com
GetAllAccounts
gaa
Syntax: [-v] [{domain}]
zmprov gaa
zmprov gaa -v domain.com
GetAllAdminAccounts
gaaa
Syntax: gaaa
zmprov gaaa
ModifyAccount
ma
{name@domain|id|adminName} [attribute1 value1 etc]
zmprov ma joe@domain.com zimbraAccountStatus maintenance
SetPassword
sp
{name@domain|id|adminName} {password}
zmprov sp joe@domain.com test321
AddAccountAlias
aaa
{name@domain|id|adminName} {alias@domain}
zmprov aaa joe@domain.comjoe.smith@engr.domain.com
RemoveAccountAlias
raa
{name@domain|id|adminName} {alias@domain}
zmprov raa joe@domain.comjoe.smith@engr.domain.com
SetAccountCOS
sac
{name@domain|id|adminName} {cos-name|cos-id}
zmprov sac joe@domain.com FieldTechnician
SearchAccounts
sa
[-v] {ldap-query} [limit] [offset] [sortBy {attribute}
RenameAccount
ra
{name@domain|id} {newname@domain}
zmprov ra joe@domain.com joe23@domain.com
Note: After you rename an account, you should run a full backup for that account. zmbackup -f – <servername.com> -a<newaccountname@servername.com>

ref: zimbra

wassalam..

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.