Zimbra script to force password change with specific COS.
- pwgen
- bash
Usage: fcp.sh [-vseh] [-p P4$s ] [-c UID]
OPTIONS:
-h Show this help
-v Show version
-s Show current COS and their IDs
-e Set expire password to all accounts from COS ID
-c Specify the COS ID
-p Specify temporal password (default autogenerate)
fcp.sh -s
# name default => zimbraId: 39a0c4f2-16b1-407a-b0fd-d7a49f210d2d
# name defaultExternal => zimbraId: 7363e52d-6c6c-4a4a-a8dd-364275034fe9
fcp.sh -e -c 39a0c4f2-16b1-407a-b0fd-d7a49f210d2d
fcp.sh -e -c 39a0c4f2-16b1-407a-b0fd-d7a49f210d2d -p MyTmPp4$s