Dave Johnson
2004-Aug-27 15:19 UTC
[patch] v1 empty pass with PAM disabled still prompts for pass fix.
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
Seemingly Similar Threads
- Questions about sshd_config man page and comments in the file
- AuthorizedKeysFile with default value prevents Public/Private key authentication
- 3.7.1P2, PermitRootLogin and PAM with hidden NISplus passwor ds
- [Bug 843] sshd_config.5: add warning to PasswordAuthentication
- unable to login with LDAP when set Uselogin to yes