summaryrefslogtreecommitdiffstats
path: root/auth2.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-05-09 15:59:13 +1000
committerDamien Miller <djm@mindrot.org>2002-05-09 15:59:13 +1000
commitffc868ff836100ad41fe18a0e48e2705a211c417 (patch)
treedb88d0dfd5de5868f367e36a126a9d40461992b8 /auth2.c
parent0502a471e02b1b6e8ec5b0134766b28694b760a8 (diff)
- (djm) Disable PAM kbd-int auth if privsep is turned on (it doesn't work)
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth2.c b/auth2.c
index 4c18d232..61fd0a73 100644
--- a/auth2.c
+++ b/auth2.c
@@ -121,6 +121,8 @@ do_authentication2(void)
options.kbd_interactive_authentication = 1;
if (options.pam_authentication_via_kbd_int)
options.kbd_interactive_authentication = 1;
+ if (use_privsep)
+ options.pam_authentication_via_kbd_int = 0;
dispatch_init(&dispatch_protocol_error);
dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);