viernes, 24 de febrero de 2012

unlock zimbra accounts from command line

Zimbra will lock out an account that continues to fail authentication, it stops brute force attacks, and makes sure that your less clueful users get more support time with you because of caps lock etc. Its pretty easy to unlock a zimbra account from the admin gui, just right click, edit and set account status to active instead of lockout, but what about lockout of the admin account?

Enter zmprov: a nifty commandline tool that really cares (TM).

To unlock an account, just (as the zimbra user of course):

zmprov ma accountname@domain.com  zimbraAccountStatus active

zimbraAccountStatus can be active, locked, maintenance or closed.

Check out  http://wiki.zimbra.com/index.php?title=Zmprov for much more zmprov goodness.

Fuente : http://www.subvs.co.uk