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 01-13-2010, 09:58 PM
Active Member
 
Posts: 33
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
Reply With Quote
  #2 (permalink)  
Old 01-13-2010, 10:50 PM
y@w y@w is offline
Moderator
 
Posts: 658
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.
__________________
What a n00b!
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.