List of accounts with their last password change date: Difference between revisions
(Created page with "{{WIP}}{{Article Infobox|{{admin}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}}} =List of accounts with their last password change date= ==Purpose== CLI method for extracting a list o...") |
m (→Purpose) |
||
Line 2: | Line 2: | ||
=List of accounts with their last password change date= | =List of accounts with their last password change date= | ||
==Purpose== | ==Purpose== | ||
CLI method for extracting a list of all accounts with their last password change date | CLI method for extracting a list of all accounts with their last password change date. | ||
==Resolution== | ==Resolution== |
Revision as of 15:29, 21 May 2015
- This article is a Work in Progress, and may be unfinished or missing sections.
Article Information |
---|
This article applies to the following ZCS versions. |
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
- Not related content.