AddUserGroups.sh 199 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #!/bin/sh if [ $# -le 1 ] then echo "user and group[s] should be defined" exit fi BASEDIR=$(dirname "$0") . ${BASEDIR}/DDServer.env php ${USERMANAGER}/UserManager.php "groups" $1 $2