- (djm) Don't log SSH2 PAM KbdInt responses to debug, they may contain
passwords.
This commit is contained in:
parent
709528ab6a
commit
bf75776d41
|
@ -6,6 +6,8 @@
|
||||||
- (djm) Fix autoconf logic for --with-lastlog=no Report and diagnosis from
|
- (djm) Fix autoconf logic for --with-lastlog=no Report and diagnosis from
|
||||||
Philipp Buehler <lists@fips.de> and Kevin Steves <stevesk@sweden.hp.com>
|
Philipp Buehler <lists@fips.de> and Kevin Steves <stevesk@sweden.hp.com>
|
||||||
respectively.
|
respectively.
|
||||||
|
- (djm) Don't log SSH2 PAM KbdInt responses to debug, they may contain
|
||||||
|
passwords.
|
||||||
|
|
||||||
20000130
|
20000130
|
||||||
- (djm) OpenBSD CVS Sync:
|
- (djm) OpenBSD CVS Sync:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$Id: auth2-pam.c,v 1.6 2001/01/22 05:34:40 mouring Exp $");
|
RCSID("$Id: auth2-pam.c,v 1.7 2001/01/30 23:50:49 djm Exp $");
|
||||||
|
|
||||||
#ifdef USE_PAM
|
#ifdef USE_PAM
|
||||||
#include <security/pam_appl.h>
|
#include <security/pam_appl.h>
|
||||||
|
@ -152,7 +152,6 @@ input_userauth_info_response_pam(int type, int plen, void *ctxt)
|
||||||
for (i = 0; i < nresp; i++) {
|
for (i = 0; i < nresp; i++) {
|
||||||
int j = context_pam2.prompts[i];
|
int j = context_pam2.prompts[i];
|
||||||
resp = packet_get_string(&rlen);
|
resp = packet_get_string(&rlen);
|
||||||
debug("response ssh-%d(pam-%d) = \"%s\"", i, j, resp);
|
|
||||||
context_pam2.responses[j].resp_retcode = PAM_SUCCESS;
|
context_pam2.responses[j].resp_retcode = PAM_SUCCESS;
|
||||||
context_pam2.responses[j].resp = xstrdup(resp);
|
context_pam2.responses[j].resp = xstrdup(resp);
|
||||||
xfree(resp);
|
xfree(resp);
|
||||||
|
|
Loading…
Reference in New Issue