[patch] v1 empty pass with PAM disabled still prompts for pass fix.

Dave Johnson dave-openssh-post-20040825 at centerclick.org
Sat Aug 28 01:19:15 EST 2004


Setup:
------

config.h:

#define USE_PAM 1

sshd_config:

PasswordAuthentication yes
PermitEmptyPasswords yes
UsePAM no

------

With the above config, and a user with no password, logging in with v2
gives no password prompt (because auth-method none works), but in v1,
a password is still prompted for (empty is accepted though, just have
to press enter).

If UsePAM is enabled, no prompt is displayed, with UsePAM off it
isn't.

Attached patch fixes this issue.

-- 
Dave
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: emptypass.patch
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20040827/35d1042d/attachment.ksh 


More information about the openssh-unix-dev mailing list