[OE-core] [PATCHv2] openssh: allow login with empty password

Koen Kooi koen at dominion.thruhere.net
Mon Oct 14 10:09:37 UTC 2013


Currently both PAM and dropbear allow logins with empty passwords, but
openssh doesn't. This commit changes the default in openssh to allow
empty password logins.

This should be changed to be a global config option in the long run.

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
 meta/recipes-connectivity/openssh/openssh-6.2p2/sshd_config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd_config b/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd_config
index 4f9b626..175e8f3 100644
--- a/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd_config
+++ b/meta/recipes-connectivity/openssh/openssh-6.2p2/sshd_config
@@ -59,7 +59,7 @@ Protocol 2
 
 # To disable tunneled clear text passwords, change to no here!
 #PasswordAuthentication yes
-#PermitEmptyPasswords no
+PermitEmptyPasswords yes
 
 # Change to no to disable s/key passwords
 #ChallengeResponseAuthentication yes
-- 
1.8.3.1




More information about the Openembedded-core mailing list