Results 1 to 9 of 9

Thread: [SOLVED] Password expiry after user import

  1. #1
    RevDarkman's Avatar
    RevDarkman is offline Senior Member
    Join Date
    Apr 2008
    Location
    Newborough, Anglesey, North Wales, UK
    Posts
    66
    Rep Power
    7

    Default [SOLVED] Password expiry after user import

    Hi All

    I've been testing for a few weeks now and will be rolling out over the next few days to replace postfix/dovecot setup.

    I have created a CSV with all my users and their current passwords so I can import into ZCS. On first login ZCS requires that they change their password - is there any way to disable this?

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    zmprov ma account@domain.com zimbraPasswordMustChange FALSE

  3. #3
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,579
    Rep Power
    57

    Default

    Quote Originally Posted by RevDarkman View Post
    Hi All

    I've been testing for a few weeks now and will be rolling out over the next few days to replace postfix/dovecot setup.

    I have created a CSV with all my users and their current passwords so I can import into ZCS. On first login ZCS requires that they change their password - is there any way to disable this?
    This would be a good opportunity to force the users to adhere to a more secure password policy or you could just give them all the same 'dummy' password and let them enter their own new passwords.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    RevDarkman's Avatar
    RevDarkman is offline Senior Member
    Join Date
    Apr 2008
    Location
    Newborough, Anglesey, North Wales, UK
    Posts
    66
    Rep Power
    7

    Default

    Well they already have secure passwords, which is why I'd like to import them, also I want to use imapsync to migrate email over, this is all in place and ready to go.

    With this code

    Code:
    zmprov ma account@domain.com zimbraPasswordMustChange FALSE
    is it possible to do this domain wide or does it have to be a user account at a time?

    Regards

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    User at a time; though you could use your CSV file and do a simple for loop script.

  6. #6
    RevDarkman's Avatar
    RevDarkman is offline Senior Member
    Join Date
    Apr 2008
    Location
    Newborough, Anglesey, North Wales, UK
    Posts
    66
    Rep Power
    7

    Default

    Quote Originally Posted by uxbod View Post
    User at a time; though you could use your CSV file and do a simple for loop script.
    heh - it's only 52 users - I'll do it manually as I have no idea on scripting!

  7. #7
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    for user in `cat yourfile.csv | awk -F, '{ print $1 }'`
    do
      zmprov ma ${user} zimbraPasswordMustChange FALSE
    done
    This requires the users email address to be in position one of the CSV file.

  8. #8
    RevDarkman's Avatar
    RevDarkman is offline Senior Member
    Join Date
    Apr 2008
    Location
    Newborough, Anglesey, North Wales, UK
    Posts
    66
    Rep Power
    7

    Default

    awesome :-)

    thank you very much!

  9. #9
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Your very welcome

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. [SOLVED] Zimbra logwatch.
    By nishith in forum Administrators
    Replies: 5
    Last Post: 06-10-2009, 04:42 PM
  3. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 07:38 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
  •