diff options
author | Damien Miller <djm@mindrot.org> | 2001-01-31 10:50:49 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-01-31 10:50:49 +1100 |
commit | bf75776d415126a415ac92fb767c70dc67feba4f (patch) | |
tree | ac0483c36737d48e5a58c9be36a2687ce0e27002 /auth2-pam.c | |
parent | 709528ab6a271ce39155fc494d40689f578f9d38 (diff) |
- (djm) Don't log SSH2 PAM KbdInt responses to debug, they may contain
passwords.
Diffstat (limited to 'auth2-pam.c')
-rw-r--r-- | auth2-pam.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/auth2-pam.c b/auth2-pam.c index c54ad31a2..d7a5ff7a4 100644 --- a/auth2-pam.c +++ b/auth2-pam.c | |||
@@ -1,5 +1,5 @@ | |||
1 | #include "includes.h" | 1 | #include "includes.h" |
2 | RCSID("$Id: auth2-pam.c,v 1.6 2001/01/22 05:34:40 mouring Exp $"); | 2 | RCSID("$Id: auth2-pam.c,v 1.7 2001/01/30 23:50:49 djm Exp $"); |
3 | 3 | ||
4 | #ifdef USE_PAM | 4 | #ifdef USE_PAM |
5 | #include <security/pam_appl.h> | 5 | #include <security/pam_appl.h> |
@@ -152,7 +152,6 @@ input_userauth_info_response_pam(int type, int plen, void *ctxt) | |||
152 | for (i = 0; i < nresp; i++) { | 152 | for (i = 0; i < nresp; i++) { |
153 | int j = context_pam2.prompts[i]; | 153 | int j = context_pam2.prompts[i]; |
154 | resp = packet_get_string(&rlen); | 154 | resp = packet_get_string(&rlen); |
155 | debug("response ssh-%d(pam-%d) = \"%s\"", i, j, resp); | ||
156 | context_pam2.responses[j].resp_retcode = PAM_SUCCESS; | 155 | context_pam2.responses[j].resp_retcode = PAM_SUCCESS; |
157 | context_pam2.responses[j].resp = xstrdup(resp); | 156 | context_pam2.responses[j].resp = xstrdup(resp); |
158 | xfree(resp); | 157 | xfree(resp); |