diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-07-02 14:24:39 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-03 17:41:18 +0100 |
commit | 301c3f93891c23a42ae7020ef78125adadd021e5 (patch) | |
tree | 84bb4f24fd271b596988770571af3a738109751b /meta/recipes-connectivity/ofono | |
parent | 96748199f5f1b03be6729cb63de1200abfda7612 (diff) | |
download | poky-301c3f93891c23a42ae7020ef78125adadd021e5.tar.gz |
openssh: avoid checking empty passwords to mess up with PAM modules
Previously, even if PAM is enabled for ssh, the daemon still tries to
authenticate an empty password. This leads to authentication failure
which would mess up with PAM modules.
As a result, if 'UsePAM', 'PermitEmptyPasswords' and 'PasswordAuthentication'
are enabled, no user can login correctly. We would meet the following error
message at the client side.
Write failed: Broken Pipe
This patch fixes the above problem by checking whether PAM is enabled before
authenticating an empty password. After all, if PAM is enabled, the task of
authenticating passwords should be handled to PAM modules.
[YOCTO #6466]
(From OE-Core rev: e017ae71dad4837b0d22f291b0b0e0949075f822)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/ofono')
0 files changed, 0 insertions, 0 deletions