diff options
Diffstat (limited to 'src/monkeysphere-server')
-rwxr-xr-x | src/monkeysphere-server | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server index 9205b1d..a5497c2 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -141,6 +141,16 @@ update_users() { log "----- user: $uname -----" + if ! check_key_file_permissions "$uname" "$AUTHORIZED_USER_IDS" ; then + log "Improper permissions on authorized_user_ids file." + continue + fi + + if ! check_key_file_permissions "$uname" "$RAW_AUTHORIZED_KEYS" ; then + log "Improper permissions on authorized_keys file." + continue + fi + # make temporary directory TMPDIR=$(mktemp -d) |