Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-09-2011, 03:56 AM
Active Member
 
Posts: 29
Default [SOLVED] create account through CLI with "must-change-password"

Hello,
I have to add many accounts to a domain. I do it through CLI where I create a file that includes all the accounts to be created, such as:
Code:
createAccount user1@abc.com password displayName 'Peter' givenName Peter sn user1
However I need to add the accounts the way when the user logs for the first time he must change the pasword. I tried to set the empty password in the single quote, but it did not work - I was not able to log on.

Please can you help me what to write to a file for zmprov to set for the new user to change his password?
Thanks
Libor
Reply With Quote
  #2 (permalink)  
Old 03-09-2011, 04:47 AM
Project Contributor
 
Posts: 92
Default

Hi liku,


You better try this:

zimbraPasswordMustChange TRUE
Reply With Quote
  #3 (permalink)  
Old 03-09-2011, 07:42 AM
Active Member
 
Posts: 29
Default

Thanks for help. For the new accounts it works this way:
Quote:
createAccount user@abc.com 'test1234' zimbraPasswordMustChange TRUE displayName 'user' givenName user sn user
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.