summaryrefslogtreecommitdiff
path: root/src/share/ma
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-03-01 15:27:36 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-03-01 15:27:36 -0500
commit23969f7aadf7611ed73d300b23c8fbfca91cb66a (patch)
treee63b90db90b9ccedeca9934c7bd739b683351038 /src/share/ma
parentebd776722e0fd6dfacc79146c368d148f0e266cb (diff)
explicity set the USER variable, since it's needed for checking file permissions. add/modify some debug messages.
Diffstat (limited to 'src/share/ma')
-rw-r--r--src/share/ma/update_users1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/share/ma/update_users b/src/share/ma/update_users
index 3a5c006..195e982 100644
--- a/src/share/ma/update_users
+++ b/src/share/ma/update_users
@@ -88,6 +88,7 @@ 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