diff options
author | Jameson Rollins <jrollins@finestructure.net> | 2010-10-22 16:22:09 -0400 |
---|---|---|
committer | Jameson Rollins <jrollins@finestructure.net> | 2010-10-22 16:22:09 -0400 |
commit | c7d807fb792096862a27fa0742f825d4792b7a01 (patch) | |
tree | 82a5648da3f15b984da96db6a0005ff2ba4bb514 /src/share/ma | |
parent | eed88e101708058baa6656380b68f826340eb76a (diff) |
tweak log levels and messages in ma/update_users
Diffstat (limited to 'src/share/ma')
-rw-r--r-- | src/share/ma/update_users | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/share/ma/update_users b/src/share/ma/update_users index 43695e2..a70d000 100644 --- a/src/share/ma/update_users +++ b/src/share/ma/update_users @@ -73,9 +73,9 @@ for uname in $unames ; do # translating ssh-style path variables authorizedUserIDs=$(translate_ssh_variables "$uname" "$AUTHORIZED_USER_IDS") if [ -s "$authorizedUserIDs" ] ; then - log debug "authorized_user_ids file found." # check permissions on the authorized_user_ids file path if check_key_file_permissions "$uname" "$authorizedUserIDs" ; then + log verbose "processing authorized_user_ids..." # process authorized_user_ids file, as monkeysphere user su_monkeysphere_user \ @@ -98,10 +98,12 @@ for uname in $unames ; do if [ -s "$rawAuthorizedKeys" ] ; then # check permissions on the authorized_keys file path if check_key_file_permissions "$uname" "$rawAuthorizedKeys" ; then - log verbose "adding raw authorized_keys file... " + log verbose "adding raw authorized_keys..." + cat "$rawAuthorizedKeys" >> "$tmpAuthorizedKeys" + else - log debug "not adding raw authorized_keys file." + log debug "not adding raw authorized_keys." fi else log debug "empty or absent authorized_keys file." |