svn commit: r362907 - stable/12/crypto/openssh

Xin LI delphij at FreeBSD.org
Fri Jul 3 07:22:35 UTC 2020


Author: delphij
Date: Fri Jul  3 07:22:34 2020
New Revision: 362907
URL: https://svnweb.freebsd.org/changeset/base/362907

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

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

Modified: stable/12/crypto/openssh/auth2.c
==============================================================================
--- stable/12/crypto/openssh/auth2.c	Fri Jul  3 05:21:05 2020	(r362906)
+++ stable/12/crypto/openssh/auth2.c	Fri Jul  3 07:22:34 2020	(r362907)
@@ -317,8 +317,6 @@ input_userauth_request(int type, u_int32_t seq, struct
 #ifdef HAVE_LOGIN_CAP
 	if (authctxt->pw != NULL &&
 	    (lc = PRIVSEP(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