summaryrefslogtreecommitdiff
path: root/src/share/ma/update_users
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-03-02 12:40:28 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-03-02 12:42:16 -0500
commit18d6d63571d18c50a4c943742c6cebbb100d4277 (patch)
tree527e5c94ba9f597889ef069f3b9bd21c390fbdfa /src/share/ma/update_users
parent04d3ff158b70e20bc4dc42678aa836498e670cce (diff)
get rid of FILE_OWNER variable, in favor of just using $(whoami) when
running check_key_file_permissions in update_known_hosts, update_authorized_keys, and process_authorized_user_ids. this is fine, since the policy is just that a user is always updating their own files. closes monkeysphere bug #630.
Diffstat (limited to 'src/share/ma/update_users')
-rw-r--r--src/share/ma/update_users2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/ma/update_users b/src/share/ma/update_users
index 67fabb2..3a5c006 100644
--- a/src/share/ma/update_users
+++ b/src/share/ma/update_users
@@ -92,7 +92,7 @@ for uname in $unames ; do
export TMP_AUTHORIZED_USER_IDS
# process authorized_user_ids file, as monkeysphere user
- FILE_OWNER="$MONKEYSPHERE_USER" su_monkeysphere_user \
+ su_monkeysphere_user \
". ${SYSSHAREDIR}/common; process_authorized_user_ids $TMP_AUTHORIZED_USER_IDS" \
|| returnCode="$?"
else