Results 1 to 3 of 3

Thread: [SOLVED] create account through CLI with "must-change-password"

  1. #1
    Join Date
    Jan 2011
    Posts
    40
    Rep Power
    4

    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

  2. #2
    Join Date
    Oct 2009
    Location
    Tokyo
    Posts
    113
    Rep Power
    6

    Default

    Hi liku,


    You better try this:

    zimbraPasswordMustChange TRUE

  3. #3
    Join Date
    Jan 2011
    Posts
    40
    Rep Power
    4

    Default

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

Similar Threads

  1. Replies: 5
    Last Post: 02-13-2011, 05:25 PM
  2. Replies: 3
    Last Post: 02-20-2008, 09:00 PM
  3. [SOLVED] Web Service to create mailbox account
    By jv1410 in forum Developers
    Replies: 1
    Last Post: 10-19-2007, 04:31 PM
  4. Replies: 3
    Last Post: 02-09-2006, 09:19 AM
  5. "Must change password" still doest work
    By graffiti in forum Users
    Replies: 5
    Last Post: 12-05-2005, 08:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •