X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fshare%2Fma%2Fupdate_users;h=c5c74cf7bbfaedff9d410146b08ccb6a8193b153;hb=134b8c66bec679556bec90c4eef937d464a7950e;hp=195e9828f8c49a937647963b9a4dbab567a86559;hpb=23969f7aadf7611ed73d300b23c8fbfca91cb66a;p=monkeysphere.git diff --git a/src/share/ma/update_users b/src/share/ma/update_users index 195e982..c5c74cf 100644 --- a/src/share/ma/update_users +++ b/src/share/ma/update_users @@ -24,7 +24,7 @@ if [ "$1" ] ; then unames="$@" else # or just look at all users if none specified - unames=$(getent passwd | cut -d: -f1) + unames=$(list_users) fi # set mode @@ -88,7 +88,6 @@ for uname in $unames ; do cat "$authorizedUserIDs" > "$TMP_AUTHORIZED_USER_IDS" # export needed variables - export USER="$uname" export AUTHORIZED_KEYS export TMP_AUTHORIZED_USER_IDS