diff options
author | Xiaofeng Yan <xiaofeng.yan@windriver.com> | 2011-07-26 17:06:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-27 12:02:43 +0100 |
commit | cec1bc74c01b411b5c77d7b3af4b95cde5f48d2e (patch) | |
tree | 436429233d9b9fd7b448ffc097d203edacfa5110 /meta/recipes-core/dropbear/dropbear | |
parent | f491a7ea0c570e481728d57cf7848b09c93f4373 (diff) | |
download | poky-cec1bc74c01b411b5c77d7b3af4b95cde5f48d2e.tar.gz |
dropbear: Support pam
I make a patch and some changes in dropbear.inc for supporting pam.
- Enable pam in configure
- Modify file option.h to open pam supporting
(From OE-Core rev: e8f19e8616fb1b0c2d977fb63eaa64f504fb774b)
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear/dropbear-enable-pam.patch | 22 |
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 @@ | |||
1 | dropbear: We need modify file option.h besides enabling pam in \ | ||
2 | configure if we want dropbear to support pam. | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Signed-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 | |||