svn commit: r362908 - stable/11/crypto/openssh

Xin LI delphij at FreeBSD.org
Fri Jul 3 07:25:27 UTC 2020


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)) {


More information about the svn-src-all mailing list