diff options
author | Damien Miller <djm@mindrot.org> | 2002-05-09 15:59:13 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-05-09 15:59:13 +1000 |
commit | ffc868ff836100ad41fe18a0e48e2705a211c417 (patch) | |
tree | db88d0dfd5de5868f367e36a126a9d40461992b8 /auth2.c | |
parent | 0502a471e02b1b6e8ec5b0134766b28694b760a8 (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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -121,6 +121,8 @@ do_authentication2(void) | |||
121 | options.kbd_interactive_authentication = 1; | 121 | options.kbd_interactive_authentication = 1; |
122 | if (options.pam_authentication_via_kbd_int) | 122 | if (options.pam_authentication_via_kbd_int) |
123 | options.kbd_interactive_authentication = 1; | 123 | options.kbd_interactive_authentication = 1; |
124 | if (use_privsep) | ||
125 | options.pam_authentication_via_kbd_int = 0; | ||
124 | 126 | ||
125 | dispatch_init(&dispatch_protocol_error); | 127 | dispatch_init(&dispatch_protocol_error); |
126 | dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); | 128 | dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); |