summaryrefslogtreecommitdiff
path: root/pambase-no-systemd-home/system-auth.patch
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-12-16 12:34:33 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-12-16 12:34:52 +0100
commitf5d577ba1028bc07f25bad575b01ac36567c8e89 (patch)
treed5bbff6a767f6610617b720d08b76c8a3c61cb1c /pambase-no-systemd-home/system-auth.patch
parent50c2c2df9b3599556a42ee324edcb3615670c058 (diff)
downloadarchlinuxewe-f5d577ba1028bc07f25bad575b01ac36567c8e89.tar.xz
pambase-no-systemd-home: 20221020-1 -> 20230918-2
Diffstat (limited to 'pambase-no-systemd-home/system-auth.patch')
-rw-r--r--pambase-no-systemd-home/system-auth.patch20
1 files changed, 16 insertions, 4 deletions
diff --git a/pambase-no-systemd-home/system-auth.patch b/pambase-no-systemd-home/system-auth.patch
index e890a2093..788378ed1 100644
--- a/pambase-no-systemd-home/system-auth.patch
+++ b/pambase-no-systemd-home/system-auth.patch
@@ -1,6 +1,14 @@
---- a/etc/pam.d/system-auth 2021-06-17 18:57:25.959996395 +0200
-+++ b/etc/pam.d/system-auth 2021-06-17 18:58:31.533329725 +0200
-@@ -11,12 +11,10 @@
+--- a/etc/pam.d/system-auth 2024-08-15 10:00:08.000000000 +0200
++++ b/etc/pam.d/system-auth 2024-12-16 12:33:39.096773722 +0100
+@@ -3,7 +3,6 @@
+ auth required pam_faillock.so preauth
+ # Optionally use requisite above if you do not want to prompt for the password
+ # on locked accounts.
+--auth [success=2 default=ignore] pam_systemd_home.so
+ auth [success=1 default=bad] pam_unix.so try_first_pass nullok
+ auth [default=die] pam_faillock.so authfail
+ auth optional pam_permit.so
+@@ -12,16 +11,13 @@
# If you drop the above call to pam_faillock.so the lock will be done also
# on non-consecutive authentication failures.
@@ -10,6 +18,10 @@
account required pam_time.so
--password [success=1 default=ignore] pam_systemd_home.so
- password required pam_unix.so try_first_pass nullok shadow sha512
+ password required pam_unix.so try_first_pass nullok shadow
password optional pam_permit.so
+--session optional pam_systemd_home.so
+ session required pam_limits.so
+ session required pam_unix.so
+ session optional pam_permit.so