Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2020 07:25:27 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r362908 - stable/11/crypto/openssh
Message-ID:  <202007030725.0637PR23071278@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Fri Jul  3 07:25:26 2020
New Revision: 362908
URL: https://svnweb.freebsd.org/changeset/base/362908

Log:
  MFC r362642: Don't log normal login_getpwclass(3) result.

Modified:
  stable/11/crypto/openssh/auth2.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/crypto/openssh/auth2.c
==============================================================================
--- stable/11/crypto/openssh/auth2.c	Fri Jul  3 07:22:34 2020	(r362907)
+++ stable/11/crypto/openssh/auth2.c	Fri Jul  3 07:25:26 2020	(r362908)
@@ -276,8 +276,6 @@ input_userauth_request(int type, u_int32_t seq, void *
 #ifdef HAVE_LOGIN_CAP
 	if (authctxt->pw != NULL &&
 	    (lc = login_getpwclass(authctxt->pw)) != NULL) {
-		logit("user %s login class %s", authctxt->pw->pw_name,
-		    authctxt->pw->pw_class);
 		from_host = auth_get_canonical_hostname(ssh, options.use_dns);
 		from_ip = ssh_remote_ipaddr(ssh);
 		if (!auth_hostok(lc, from_host, from_ip)) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007030725.0637PR23071278>