From e68a818303ec36616b9e2ab6bc786d9c5d3dc384 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 31 Jan 2022 21:02:04 +0000 Subject: added /etc/pam.d/other --- repo/system/pam.xibuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'repo') 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 @@ -62,6 +62,20 @@ EOF 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 } -- cgit v1.2.1