From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8150B1581FD for ; Fri, 05 Sep 2025 21:21:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 69213340DE6 for ; Fri, 05 Sep 2025 21:21:44 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4E1B3110379; Fri, 05 Sep 2025 21:21:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 43DC7110379 for ; Fri, 05 Sep 2025 21:21:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDFB2340D3A for ; Fri, 05 Sep 2025 21:21:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F631306C for ; Fri, 05 Sep 2025 21:21:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1757107269.22b5f7db236417979d854e9c3a55dc4ed78c6ac8.sam@gentoo> Subject: [gentoo-commits] proj/pambase:master commit in: templates/ X-VCS-Repository: proj/pambase X-VCS-Files: templates/system-session.tpl X-VCS-Directories: templates/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 22b5f7db236417979d854e9c3a55dc4ed78c6ac8 X-VCS-Branch: master Date: Fri, 05 Sep 2025 21:21:41 +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: 32829c34-a18e-4621-be47-46cccc6c8942 X-Archives-Hash: 97d35cd52a00f16618671aaf5aa5adff commit: 22b5f7db236417979d854e9c3a55dc4ed78c6ac8 Author: Sam James gentoo org> AuthorDate: Fri Sep 5 21:21:09 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 5 21:21:09 2025 +0000 URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=22b5f7db Run pam_mktemp then pam_env This allows pam_env to include a newly-created temporary directory. Bug: https://bugs.gentoo.org/780441 Signed-off-by: Sam James gentoo.org> templates/system-session.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/system-session.tpl b/templates/system-session.tpl index 4a0f435..e5ab42b 100644 --- a/templates/system-session.tpl +++ b/templates/system-session.tpl @@ -1,8 +1,8 @@ session required pam_limits.so {{ debug }} -session required pam_env.so {{ debug }} {% if mktemp %} session optional pam_mktemp.so {% endif %} +session required pam_env.so {{ debug }} {%if krb5 %} session [success=1 default=ignore] pam_krb5.so {{ debug }} ignore_root try_first_pass