diff options
author | Jameson Rollins <jrollins@finestructure.net> | 2010-10-18 18:12:45 -0400 |
---|---|---|
committer | Jameson Rollins <jrollins@finestructure.net> | 2010-10-18 18:12:45 -0400 |
commit | b151467d9947c474f96269c33b940cf887d4a340 (patch) | |
tree | 2a48c64a904cd7ebeaa2501a3028c39051cd6dee /src/share/ma/update_users | |
parent | 7794ed5e76b6aa9833c1d4de9bf8f54afdf75bde (diff) |
fix process_keys_for_file so that it can accept '-' as a file, and send output to stdout.
Diffstat (limited to 'src/share/ma/update_users')
-rw-r--r-- | src/share/ma/update_users | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/share/ma/update_users b/src/share/ma/update_users index c84716e..43695e2 100644 --- a/src/share/ma/update_users +++ b/src/share/ma/update_users @@ -79,8 +79,9 @@ for uname in $unames ; do # process authorized_user_ids file, as monkeysphere user su_monkeysphere_user \ - ". ${SYSSHAREDIR}/common; STRICT_MODES='$STRICT_MODES' process_authorized_user_ids $tmpAuthorizedKeys" \ - < "$authorizedUserIDs" + ". ${SYSSHAREDIR}/common; STRICT_MODES='$STRICT_MODES' process_authorized_user_ids -" \ + < "$authorizedUserIDs" \ + > "$tmpAuthorizedKeys" else log debug "not processing authorized_user_ids." |