archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gdm / trunk / 0002-pam-arch-Remove-user_readenv-1-from-pam_env.patch
blobfcc39cf93f19992fbe53dd155bb855de3a6ff253
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
3 Date: Thu, 20 Oct 2022 20:03:36 +0000
4 Subject: [PATCH] pam-arch: Remove user_readenv=1 from pam_env
6 The insecure `user_readenv` setting has been deprecated with pam 1.5.0
7 and will be removed in a future release.
8 ---
9 data/pam-arch/gdm-launch-environment.pam | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/data/pam-arch/gdm-launch-environment.pam b/data/pam-arch/gdm-launch-environment.pam
13 index 20d1810a68f5..3c4ad407df89 100644
14 --- a/data/pam-arch/gdm-launch-environment.pam
15 +++ b/data/pam-arch/gdm-launch-environment.pam
16 @@ -14,4 +14,4 @@ session optional pam_keyinit.so force revoke
17 session required pam_succeed_if.so audit quiet_success user in gdm:gnome-initial-setup
18 session optional pam_permit.so
19 -session optional pam_systemd.so
20 -session required pam_env.so user_readenv=1
21 +session required pam_env.so