From 90c2bffc01fd20699e18b2eb875194c574c9d94b Mon Sep 17 00:00:00 2001 From: Jameson Rollins Date: Fri, 15 Oct 2010 16:47:21 -0400 Subject: [PATCH] make sure authorized_keys options lines are skipped in keys-for-user --- src/share/ma/keys_for_user | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/share/ma/keys_for_user b/src/share/ma/keys_for_user index 01924ea..6f61828 100644 --- a/src/share/ma/keys_for_user +++ b/src/share/ma/keys_for_user @@ -43,6 +43,9 @@ export GNUPGHOME # extract user IDs from authorized_user_ids file IFS=$'\n' for line in $(meat "$authorizedUserIDs") ; do + if [[ "$line" =~ ^[[:space:]] ]] ; then + continue + fi printf '%s' "$line" | \ su_monkeysphere_user ". ${SYSSHAREDIR}/common; read X; keys_for_userid \"\$X\"" || true done -- 2.26.2