From nobody Tue Apr 05 12:29:48 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A08811A91FE2 for ; Tue, 5 Apr 2022 12:29:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KXn5m23WJz3kLS for ; Tue, 5 Apr 2022 12:29:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2353A267FC for ; Tue, 5 Apr 2022 12:29:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 235CTmvE056453 for ; Tue, 5 Apr 2022 12:29:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 235CTmxl056452 for ports-bugs@FreeBSD.org; Tue, 5 Apr 2022 12:29:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263045] sshd allows password logins when "PasswordAuthentication no" is set Date: Tue, 05 Apr 2022 12:29:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: zarychtam@plan-b.pwste.edu.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649161788; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UM/T2NBfWTQ839g3XtAAyZ+YHdKdclpAhPoO8LXf+Fs=; b=psiufugfGvV2R28Ghd5huJwNFSqfXY9DHXPnlbQsjgyb2kHr8AKc/cz+925jBqvkl5jcjx YDeVk7yEW+XMavC2U+Yq+ayozQ7rhFNZ0l7GpgICbvlqWhgvrki5uIx5uLOTio9dNrTJ8z aHQI01OG0ipsBAKhraNXlQ/1HDwQ2o7iGcTVOl/CH36vR8poF6wBBY+f5l0yvUSc/t3Xjc 1wXleX65Woj7hoM+N+0bITi+dsRK3dal6nDGHAZUfPEvsMaNawdpSpIEqf48VftDMhHSYz c95Y/FAHiYqLuRhlV+/vrVN749zeW3NGeIqz3vUpHwAkgyXIMrDNbeRZ4YxagA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649161788; a=rsa-sha256; cv=none; b=SbCQ4LgdcDqVlbaJTc5SxXrMF5yo5ywPdYGv69R0Hfq/Y4YhpoTehnZLrsZrTjG8nruvJU Qg/3m07Y+nP68CJIkPJr0tUiEstavzWDYHjsZC4DsW1BjbDAD7xmkD52KNKshJyu/JzRgq zBl2L+2WttFgEugFBfCabn/WaaD82U8/tWhfemyTAorEdmiwehswQHtNZBeWOgcIFQ7OzL UHinsWECxmiYw+csE/VCGAaq+63MZbI8KpbSr6hjQtPJ//8gj2RCeW7zBVclcgIv6MKpLi CECULynEloFZalCGFkFbSZ+GutQgNBYS20N5Y7V7silHM9aLSndFCCgocngXGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263045 --- Comment #3 from Marek Zarychta --- (In reply to donaldcallen from comment #2) So what's the real problem here? Can't you disable password authentication = in 13.1-RC1?=20 Please uncomment #KbdInteractiveAuthentication no as described in sshd_config file: # Set this to 'no' to disable PAM authentication, account processing, # and session processing. If this is enabled, PAM authentication will # be allowed through the KbdInteractiveAuthentication and # PasswordAuthentication. Depending on your PAM configuration, # PAM authentication via KbdInteractiveAuthentication may bypass # the setting of "PermitRootLogin without-password". # If you just want the PAM account and session checks to run without # PAM authentication, then enable this but set PasswordAuthentication # and KbdInteractiveAuthentication to 'no'. #UsePAM yes --=20 You are receiving this mail because: You are the assignee for the bug.=