Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/iso/system-auth
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-11-02 17:36:28 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-11-02 17:36:28 +0100
commit17d7c30814b6835c0707b66ddf895100482296da (patch)
treeb148eb768aa45502925ed2186d34b961be00a7da /iso/system-auth
parent1afcc9f0ff8c5307267dbf30fe34070cbe379eca (diff)
also have a non-systemd system-auth for pamHEADmaster
Diffstat (limited to 'iso/system-auth')
-rw-r--r--iso/system-auth27
1 files changed, 27 insertions, 0 deletions
diff --git a/iso/system-auth b/iso/system-auth
new file mode 100644
index 0000000..0d39434
--- /dev/null
+++ b/iso/system-auth
@@ -0,0 +1,27 @@
+#%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_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
+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 [success=1 default=ignore] pam_systemd_home.so
+account required pam_unix.so
+account optional pam_permit.so
+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 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