3 source `dirname $0`/functions
7 SGCONFPATH="$BASEPATH/stg/projects/sgconf"
9 RES=`"$SGCONFPATH/sgconf" -s localhost -p 5555 -u admin -w 123456 --get-admins`
13 printf "Failed to get admins list. Result:\n$RES\n"
17 LOGINS=`getFields "login" "$RES"`
19 printf "Logins:\n$LOGINS\n"
23 printf -- "--------\n$NUM\n\n"
25 RES=`"$SGCONFPATH/sgconf" -s localhost -p 5555 -u admin -w 123456 --chg-admin admin --priv 111111111`
29 printf "Failed to update admin's priviledges Result:\n$RES\n"