Results 1 to 2 of 2

Thread: Mass change passwords

  1. #1
    Join Date
    Oct 2009
    Rep Power

    Exclamation Mass change passwords

    I have a domain with about 100 accounts in it. I want to change everyone's password to the same password and then have them change it later.

    Is there a way to change many users passwords like this?
    You cannot highlight multiple users in the web interface and then use the change password button as it grey's itself out when you select more than one user.

    Any suggestions or help appreciated

    - Shua

  2. #2
    Join Date
    Jan 2008
    Rep Power


    A for each loop in bash would do it.

    Something like:
    for each in `zmprov gaa`; do zmprov sp $each password; done
    That would set all the passwords to "password".

    It would take a while to do that, though, at 100 users.

    You may just want to output that into a text file and pipe the text file into zmprov so you don't call zmprov 100 times.

Similar Threads

  1. Change Password URL
    By jterhune in forum Administrators
    Replies: 5
    Last Post: 08-24-2009, 03:55 PM
  2. Passwords will not change for user accounts
    By apg in forum Installation
    Replies: 2
    Last Post: 06-16-2009, 02:46 PM
  3. Change all passwords
    By in forum Administrators
    Replies: 1
    Last Post: 05-13-2008, 06:38 AM
  4. Migrating users with imapsync... without passwords?
    By misleb in forum Installation
    Replies: 6
    Last Post: 08-12-2007, 08:03 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