summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch')
-rw-r--r--meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch b/meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch
new file mode 100644
index 0000000000..004d773dc3
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch
@@ -0,0 +1,22 @@
1dropbear: We need modify file option.h besides enabling pam in \
2configure if we want dropbear to support pam.
3
4Upstream-Status: Pending
5
6Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
7
8--- a/options.h 2011-07-12 13:27:39.008819183 +0800
9+++ b/options.h.new 2011-07-12 13:37:37.780819308 +0800
10@@ -149,9 +149,9 @@
11 * but there's an interface via a PAM module - don't bother using it otherwise.
12 * You can't enable both PASSWORD and PAM. */
13
14-#define ENABLE_SVR_PASSWORD_AUTH
15+//#define ENABLE_SVR_PASSWORD_AUTH
16 /* PAM requires ./configure --enable-pam */
17-/*#define ENABLE_SVR_PAM_AUTH*/
18+#define ENABLE_SVR_PAM_AUTH
19 #define ENABLE_SVR_PUBKEY_AUTH
20
21 /* Wether to ake public key options in authorized_keys file into account */
22