summaryrefslogtreecommitdiff
path: root/pambase-no-systemd-home/system-auth
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-06-17 22:28:32 +0200
committerErich Eckner <git@eckner.net>2021-06-17 22:31:18 +0200
commitc4c3bd4e7f1b59ae836d687305aeb2dbd5bb5d1c (patch)
treee324fce97af99ee9c37fcfd69f7fefd1e656a000 /pambase-no-systemd-home/system-auth
parent8eef41e6fe5e8d70189c15ef860ba4f235079e90 (diff)
downloadarchlinuxewe-c4c3bd4e7f1b59ae836d687305aeb2dbd5bb5d1c.tar.xz
pambase-no-systemd-home: 20200721.1-2.1 -> 20210605-2.1
Diffstat (limited to 'pambase-no-systemd-home/system-auth')
-rw-r--r--pambase-no-systemd-home/system-auth23
1 files changed, 23 insertions, 0 deletions
diff --git a/pambase-no-systemd-home/system-auth b/pambase-no-systemd-home/system-auth
new file mode 100644
index 000000000..cd721bf00
--- /dev/null
+++ b/pambase-no-systemd-home/system-auth
@@ -0,0 +1,23 @@
+#%PAM-1.0
+
+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_unix.so try_first_pass nullok
+auth [default=die] pam_faillock.so authfail
+auth optional pam_permit.so
+auth required pam_env.so
+auth required pam_faillock.so authsucc
+# If you drop the above call to pam_faillock.so the lock will be done also
+# on non-consecutive authentication failures.
+
+account required pam_unix.so
+account optional pam_permit.so
+account required pam_time.so
+
+password required pam_unix.so try_first_pass nullok shadow sha512
+password optional pam_permit.so
+
+session required pam_limits.so
+session required pam_unix.so
+session optional pam_permit.so