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 08-24-2009, 06:03 PM
Intermediate Member
 
Posts: 21
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?
Reply With Quote
  #2 (permalink)  
Old 08-24-2009, 06:55 PM
Elite Member
 
Posts: 338
Default

I think you should read how to use CLI such as: zmprov
You can write some shell script to control zimbra
Reply With Quote
  #3 (permalink)  
Old 08-24-2009, 07:08 PM
Intermediate Member
 
Posts: 21
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
Reply With Quote
  #4 (permalink)  
Old 08-24-2009, 07:18 PM
Moderator
 
Posts: 1,554
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?
Reply With Quote
  #5 (permalink)  
Old 08-24-2009, 09:14 PM
Elite Member
 
Posts: 296
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..
Reply With Quote
  #6 (permalink)  
Old 09-29-2009, 04:19 AM
Intermediate Member
 
Posts: 21
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
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.