/etc/kopano/userscripts/createuser is in kopano-server 8.5.5-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #! /bin/sh
# Script that is executed whenever a new user is created in the
# external user source, such as an Active Directory tree or
# /etc/passwd.
# This script executes all scripts in /etc/kopano/userscripts/createuser.d
# using find. The environment variable KOPANO_USER is set, but
# beware that this string can contain any characters, so take heed to
# correct quoting.
if [ -f /etc/sysconfig/kopano ]; then
. /etc/sysconfig/kopano
elif [ -f /etc/default/kopano ]; then
. /etc/default/kopano
fi
KOPANO_USER_SCRIPTS=/etc/kopano/userscripts/createuser.d
. /etc/kopano/userscripts/users_common.sh
|