summaryrefslogtreecommitdiff
path: root/repo/system
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system')
-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
}