From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48CE0138359 for ; Wed, 28 Oct 2020 19:25:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B0B8E087B; Wed, 28 Oct 2020 19:25:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F29FE087B for ; Wed, 28 Oct 2020 19:25:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F7CF33BEA3 for ; Wed, 28 Oct 2020 19:25:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEE6E296 for ; Wed, 28 Oct 2020 19:25:38 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1603913044.de5f97873c345b69c44df5a9d06fcd69ee6c5ccf.zlogene@gentoo> Subject: [gentoo-commits] proj/pambase:master commit in: templates/ X-VCS-Repository: proj/pambase X-VCS-Files: templates/system-auth.tpl templates/system-login.tpl X-VCS-Directories: templates/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: de5f97873c345b69c44df5a9d06fcd69ee6c5ccf X-VCS-Branch: master Date: Wed, 28 Oct 2020 19:25:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d6d9f47a-9f08-4779-afa3-b6f91fb026c9 X-Archives-Hash: 810d3ed632c7f010f8fe2bbc95ab09e3 commit: de5f97873c345b69c44df5a9d06fcd69ee6c5ccf Author: Mikle Kolyada gentoo org> AuthorDate: Wed Oct 28 19:24:04 2020 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Wed Oct 28 19:24:04 2020 +0000 URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=de5f9787 fix number of jumps when pam_krb5 used Signed-off-by: Mikle Kolyada gentoo.org> templates/system-auth.tpl | 2 +- templates/system-login.tpl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl index 6edba8d..6964e05 100644 --- a/templates/system-auth.tpl +++ b/templates/system-auth.tpl @@ -4,7 +4,7 @@ auth sufficient pam_ssh.so {% endif %} {% if krb5 %} -auth [success=4 default=ignore] pam_krb5.so {{ krb5_params }} +auth [success=3 default=ignore] pam_krb5.so {{ krb5_params }} {% endif %} auth requisite pam_faillock.so preauth diff --git a/templates/system-login.tpl b/templates/system-login.tpl index 6a0d544..0c60bb6 100644 --- a/templates/system-login.tpl +++ b/templates/system-login.tpl @@ -5,7 +5,6 @@ auth include system-auth account required pam_access.so {{ debug|default('', true) }} account required pam_nologin.so account include system-auth -account required pam_faillock.so password include system-auth session optional pam_loginuid.so