Results 1 to 3 of 3

Thread: command to list 30/90 days inactive users?

  1. #1
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    Default command to list 30/90 days inactive users?

    From the Search menu, there're already several default search conditions, such as 90-day inactive accounts. Is it possible to use command line interface (CLI) to get such account list?

    One of customers is asking for getting such list and then lock these account.

    any advice on this? Thanks.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    You can use zmprov to get those details look at 'zmprov help commands'. Specifically you'll want to look for the zimbraLastLogonTimestamp and/or zimbraAccountStatus attribute - depending on what you want to look for. Have a look at the following:

    Code:
    zmprov ga admin@yourdomain.com | grep active
    for details of the current searches.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    dljordaneku is offline Elite Member
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    You can use zmprov to get those details look at 'zmprov help commands'. Specifically you'll want to look for the zimbraLastLogonTimestamp and/or zimbraAccountStatus attribute - depending on what you want to look for. Have a look at the following:

    Code:
    zmprov ga admin@yourdomain.com | grep active
    for details of the current searches.
    Does the zimbraLastLogonTimestamp just give you the last time a person logged into the web interface or the last time it was accessed like from Outlook or Thunderbird?

    dj

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] List Current Users
    By OfMacAndMen in forum Administrators
    Replies: 4
    Last Post: 11-07-2010, 04:59 PM
  2. Exchange/Imap errors
    By pmibal in forum General Questions
    Replies: 4
    Last Post: 09-23-2009, 11:46 AM
  3. Replies: 5
    Last Post: 09-27-2007, 02:27 PM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  5. One user's Address Book broken in Contact List view
    By dowdle in forum Administrators
    Replies: 4
    Last Post: 02-06-2007, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •