diff options
author | Matt Johnston <matt@ucc.asn.au> | 2011-10-26 15:49:47 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2011-10-26 15:49:47 +0000 |
commit | 29e68e9d79dd41e9be0d1d731e132355d1ea8ba6 (patch) | |
tree | 591ff1059caf7dc3a8e9d6d94340013ff70a3ba3 /svr-auth.c | |
parent | c1fe2ec5ae8b96e905009d46a7a914b304fa18c8 (diff) |
- Add ALLOW_BLANK_PASSWORD option
- Don't reject blank-password logins via public key
--HG--
extra : convert_revision : 2d4bb3ecb013a7be47a7b470fc6b23e653a43dfb
Diffstat (limited to 'svr-auth.c')
-rw-r--r-- | svr-auth.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -249,15 +249,6 @@ static int checkusername(unsigned char *username, unsigned int userlen) { return DROPBEAR_FAILURE; } - /* check for an empty password */ - if (ses.authstate.pw_passwd[0] == '\0') { - TRACE(("leave checkusername: empty pword")) - dropbear_log(LOG_WARNING, "User '%s' has blank password, rejected", - ses.authstate.pw_name); - send_msg_userauth_failure(0, 1); - return DROPBEAR_FAILURE; - } - TRACE(("shell is %s", ses.authstate.pw_shell)) /* check that the shell is set */ |