aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dropbear/dropbear/allow-nopw.patch
blob: a175ee14da1d65611e7c3a724c69a81185ea1f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Enable blank password login function for new release dropbear.

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Mei Lei <lei.mei@intel.com>

diff --git a/options.h b/options.h
index 73689ad..041ddaa 100644
--- a/options.h
+++ b/options.h
@@ -180,7 +180,7 @@ much traffic. */
  * Public key logins are allowed for blank-password accounts regardless of this
  * setting.  PAM is not affected by this setting, it uses the normal pam.d
  * settings ('nullok' option) */
-/* #define ALLOW_BLANK_PASSWORD */
+#define ALLOW_BLANK_PASSWORD
 
 #define ENABLE_CLI_PASSWORD_AUTH
 #define ENABLE_CLI_PUBKEY_AUTH