summaryrefslogtreecommitdiff
path: root/src/share/ma/update_users
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/ma/update_users')
-rw-r--r--src/share/ma/update_users3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/share/ma/update_users b/src/share/ma/update_users
index a48bbd1..67fabb2 100644
--- a/src/share/ma/update_users
+++ b/src/share/ma/update_users
@@ -88,12 +88,11 @@ for uname in $unames ; do
cat "$authorizedUserIDs" > "$TMP_AUTHORIZED_USER_IDS"
# export needed variables
- export FILE_OWNER="$uname"
export AUTHORIZED_KEYS
export TMP_AUTHORIZED_USER_IDS
# process authorized_user_ids file, as monkeysphere user
- su_monkeysphere_user \
+ FILE_OWNER="$MONKEYSPHERE_USER" su_monkeysphere_user \
". ${SYSSHAREDIR}/common; process_authorized_user_ids $TMP_AUTHORIZED_USER_IDS" \
|| returnCode="$?"
else