set "PermitEmptyPasswords no" in sshd_config useradd test vi shadow for setting EMPTY password ssh test@localhost after prompt "test@localhost's password:", enter any non empty password. Authorization succeeds and "remote" user gain access to system. It also valid if user is root.
Created attachment 92 [details] Try the following patch to auth-passwd.c
Are you using PAM? Your problem isn't related to http://www.openssh.com/faq.html#3.2, is it?
DJM, as stated in the private list I can reproduce this with OpenBSD's release so it is not PAM related. Just bad code that we picked up from back in the old SSH Corp releases.
this was fixed in openbsd and is documented for linux PAM.
Mass change of RESOLVED bugs to CLOSED