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
0 comments:
Post a Comment
komentar anda sangat berguna bagi saya..