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 05-20-2009, 05:38 AM
Senior Member
 
Posts: 70
Default [SOLVED] Force password change for ALL accounts

I would think this should be easy but my forum search came up empty.
I want to force ALL users to enter a NEW password (like checking the "Must change password" box on the admin screen.
Our MAXAGE is currently 0. If I change it to 90 I know it will force a change every 90 days, but will it begin NOW (next login) and accomplish my purpose? I think I know how to do this with "zmprov ma attrib value" but is there an easier way to ALL accounts?
Thanks for the assist!

Last edited by bellzerr; 05-20-2009 at 06:05 AM..
Reply With Quote
  #2 (permalink)  
Old 05-20-2009, 06:13 AM
Partner (VAR/HSP)
 
Posts: 67
Default

The property you are looking for is 'zimbraPasswordMustChange' and set it to TRUE. We've done something similar a few times. We can do a 'for each' loop at the command line (assuming bash is the shell).

for each in `zmprov gaa`; do zmprov ma $each zimbraPasswordMustChange TRUE; done

I did this from memory, so please test!

Thanks,
Dusty
__________________
CoSentry - www.cosentry.com - Co-Location & Business Resiliency Solutions
Reply With Quote
  #3 (permalink)  
Old 05-20-2009, 06:21 AM
Senior Member
 
Posts: 70
Default

Most excellent. Thanks!
Reply With Quote
  #4 (permalink)  
Old 05-03-2011, 03:37 PM
Junior Member
 
Posts: 6
Default Missing -l

for each in `zmprov -l gaa`; do zmprov ma $each zimbraPasswordMustChange TRUE; done
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.