Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | From b8cece92ba19aa77ac013ea161bfe4c7147747c9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> |
| 3 | Date: Wed, 2 Dec 2015 11:36:02 +0200 |
| 4 | Subject: Enable pam |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 6 | We need modify file default_options.h besides enabling pam in |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 7 | configure if we want dropbear to support pam. |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | |
| 11 | Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 12 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | --- |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | default_options.h | 4 ++-- |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 16 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | diff --git a/default_options.h b/default_options.h |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 18 | index 0e3d027..349338c 100644 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 19 | --- a/default_options.h |
| 20 | +++ b/default_options.h |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 21 | @@ -210,7 +210,7 @@ group1 in Dropbear server too */ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | /* Authentication Types - at least one required. |
| 24 | RFC Draft requires pubkey auth, and recommends password */ |
| 25 | -#define DROPBEAR_SVR_PASSWORD_AUTH 1 |
| 26 | +#define DROPBEAR_SVR_PASSWORD_AUTH 0 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 27 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 28 | /* Note: PAM auth is quite simple and only works for PAM modules which just do |
| 29 | * a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c). |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 30 | @@ -218,7 +218,7 @@ group1 in Dropbear server too */ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 31 | * but there's an interface via a PAM module. It won't work for more complex |
| 32 | * PAM challenge/response. |
| 33 | * You can't enable both PASSWORD and PAM. */ |
| 34 | -#define DROPBEAR_SVR_PAM_AUTH 0 |
| 35 | +#define DROPBEAR_SVR_PAM_AUTH 1 |
| 36 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 37 | /* ~/.ssh/authorized_keys authentication. |
| 38 | * You must define DROPBEAR_SVR_PUBKEY_AUTH in order to use plugins. */ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 39 | -- |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 40 | 2.25.1 |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 41 | |