Results 1 to 2 of 2

Thread: Mass change passwords

  1. #1
    shua is offline Active Member
    Join Date
    Oct 2009
    Location
    australia
    Posts
    33
    Rep Power
    5

    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
    y@w's Avatar
    y@w
    y@w is offline Moderator
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    A for each loop in bash would do it.

    Something like:
    Code:
    for each in `zmprov gaa domain.com`; 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.

Thread Information

Users Browsing this Thread

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

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 danny.sierra@omtech.net 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, 09: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
  •