[ Zimbra Script ] Set account to maintenance mode

by Wednesday, January 07, 2015 0 comments


script for set account to the maintenance mode

pls follow this step to create the script.

vim account_to_maintenance.sh

put the code

here is the code.

#!/bin/bash
for i in $( cat /tmp/daftar_user.txt ); 
do
    zmprov ma $i zimbraAccountStatus maintenance
done

save the file

Note : 
pls create this file  daftar_user.txt

daftar_user.txt  : put the list user who wants to be a maintenance mode

M. Anwar

Founder of madeinanwar.blogspot.com

Terimakasih telah berkunjung kesini. semoga bermanfaat.

0 comments:

Post a Comment

komentar anda sangat berguna bagi saya..