List of accounts with their last password change date: Difference between revisions

Line 16: Line 16:


==Additional Content==
==Additional Content==
* Not related content.
* No related content.




{{Article Footer|Zimbra Collaboration 8.6, 8.5, 8.0|04/16/2015}}
{{Article Footer|Zimbra Collaboration 8.6, 8.5, 8.0|04/16/2015}}
{{NeedSME|SME1|SME2|Copyeditor}}
{{NeedSME|SME1|SME2|Jenny Jarrard}}

Revision as of 15:30, 21 May 2015

Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 8.6 Article ZCS 8.6 ZCS 8.5 Article ZCS 8.5 ZCS 8.0 Article ZCS 8.0


List of accounts with their last password change date

Purpose

CLI method for extracting a list of all accounts with their last password change date.

Resolution

You can use the 'zmprov sa' for this:

  • First get a list of all the users of the domain along with all of their attributes:
zmprov sa -v "mail=*@example.com"
  • Then filter out the 'zimbraPasswordModifiedTime', like so:
zmprov sa -v "mail=*@example.com" | egrep '^mail:|zimbraPasswordModifiedTime:|^$'

The password modified time is in the format: year, month, date, hours, minutes and seconds: yyyyMMddHHmmssZ

Additional Content

  • No related content.


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 04/16/2015
Article ID: https://wiki.zimbra.com/index.php?title=List_of_accounts_with_their_last_password_change_date Date Modified: 2015-05-21



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Jenny Jarrard Last edit by Jenny Jarrard
Jump to: navigation, search