summaryrefslogtreecommitdiff
path: root/repo/system/pam.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-31 21:02:04 +0000
committerdavidovski <david@davidovski.xyz>2022-01-31 21:02:04 +0000
commite68a818303ec36616b9e2ab6bc786d9c5d3dc384 (patch)
tree80d8845d24349d5f7275ed16eaf90c26bd522fd3 /repo/system/pam.xibuild
parent0b8b8f21a0cf3d15be067d9c18d4d1dc8b809780 (diff)
added /etc/pam.d/other
Diffstat (limited to 'repo/system/pam.xibuild')
-rw-r--r--repo/system/pam.xibuild14
1 files changed, 14 insertions, 0 deletions
diff --git a/repo/system/pam.xibuild b/repo/system/pam.xibuild
index be45981..fd98ef8 100644
--- a/repo/system/pam.xibuild
+++ b/repo/system/pam.xibuild
@@ -63,5 +63,19 @@ password required pam_unix.so sha512 shadow try_first_pass
# End /etc/pam.d/system-password
EOF
+ cat > $PKG_DEST/etc/pam.d/other << "EOF"
+# Begin /etc/pam.d/other
+
+auth required pam_warn.so
+auth required pam_deny.so
+account required pam_warn.so
+account required pam_deny.so
+password required pam_warn.so
+password required pam_deny.so
+session required pam_warn.so
+session required pam_deny.so
+
+# End /etc/pam.d/other
+EOF
}