Results 1 to 6 of 6

Thread: [SOLVED] script to change setting for bulk users account

  1. #1
    brainocide is offline Intermediate Member
    Join Date
    Dec 2008
    Location
    Perak, Malaysia
    Posts
    21
    Rep Power
    6

    Default [SOLVED] script to change setting for bulk users account

    How to change setting from active account status to closed account status for bulk (thousands) users with criteria "never logged & inactive account for 90days". Any script?

  2. #2
    dalmate is offline Elite Member
    Join Date
    Jan 2009
    Posts
    369
    Rep Power
    6

    Default

    I think you should read how to use CLI such as: zmprov
    You can write some shell script to control zimbra

  3. #3
    brainocide is offline Intermediate Member
    Join Date
    Dec 2008
    Location
    Perak, Malaysia
    Posts
    21
    Rep Power
    6

    Default

    my problem is i dont know how to write script

    Quote Originally Posted by dalmate View Post
    I think you should read how to use CLI such as: zmprov
    You can write some shell script to control zimbra

  4. #4
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    search teh forums you'll find many scripts to do things to all users on the system most use the same idea, here's one for example

    Bulk remove "Must Change Password" Possible?

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

    Default

    remove my previous stuff, cause it seems not working , i re-write it for another post :

    Query for non-used accounts

    after have the output file, you should run some command to extract only account name , and run

    zmprov ma account@domain zimbraAccountStatus locked

    for the accounts.
    Last edited by tiger2000; 08-26-2009 at 11:11 PM.

  6. #6
    brainocide is offline Intermediate Member
    Join Date
    Dec 2008
    Location
    Perak, Malaysia
    Posts
    21
    Rep Power
    6

    Default

    Quote Originally Posted by tiger2000 View Post
    remove my previous stuff, cause it seems not working , i re-write it for another post :

    Query for non-used accounts

    after have the output file, you should run some command to extract only account name , and run

    zmprov ma account@domain zimbraAccountStatus locked

    for the accounts.
    It really work. Thank you so much

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Changing Calendar Organizer script
    By snsparrish in forum Administrators
    Replies: 4
    Last Post: 05-02-2011, 04:41 AM
  2. [SOLVED] How do I get a Zimbra account for two or three users?
    By green_earth in forum General Questions
    Replies: 3
    Last Post: 05-31-2009, 10:47 PM
  3. Shared Folder
    By drdre in forum Administrators
    Replies: 20
    Last Post: 01-20-2008, 01:07 PM
  4. Replies: 9
    Last Post: 04-14-2007, 08:31 AM
  5. setting outlook account as default
    By stanleyk in forum Zimbra Connector for Outlook
    Replies: 1
    Last Post: 02-05-2007, 02:11 PM

Posting Permissions

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