diff options
author | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-10-27 07:39:58 -0400 |
---|---|---|
committer | Jameson Graef Rollins <jrollins@phys.columbia.edu> | 2008-10-27 07:39:58 -0400 |
commit | b1438d7d0fcb9c98ee176ab0a75e1d37d11e26d4 (patch) | |
tree | 60361f92c06ebf371cd7d28964f7bc929f285859 /src | |
parent | 5a8f2f1b6e5557ef8680bd1025239dcfd3f6550f (diff) |
Move to using empty string for not using a user-controlled
authorized_keys file in RAW_AUTHORIZED_KEYS variable.
Fix spelling mistakes and wording in config files.
Diffstat (limited to 'src')
-rwxr-xr-x | src/monkeysphere-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server index fb71081..6ca6a4f 100755 --- a/src/monkeysphere-server +++ b/src/monkeysphere-server @@ -220,7 +220,7 @@ update_users() { # add user-controlled authorized_keys file if specified # translate ssh-style path variables rawAuthorizedKeys=$(translate_ssh_variables "$uname" "$RAW_AUTHORIZED_KEYS") - if [ "$rawAuthorizedKeys" != '-' -a -s "$rawAuthorizedKeys" ] ; then + if [ "$rawAuthorizedKeys" -a -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... " |