# HG changeset patch # User David Demelier # Date 1554142800 -7200 # Node ID 30c785bd1da0da166af99d51c48887426622d644 # Parent 3b0114bc74380871d8f3347ed14cf005c287dd10 security/linux-pam: add basic files based on LFS diff -r 3b0114bc7438 -r 30c785bd1da0 security/linux-pam/linux-pam.sh --- a/security/linux-pam/linux-pam.sh Mon Apr 01 20:10:00 2019 +0200 +++ b/security/linux-pam/linux-pam.sh Mon Apr 01 20:20:00 2019 +0200 @@ -23,6 +23,11 @@ PKGDOWNLOAD="https://github.com/linux-pam/linux-pam/releases/download/v$PKGVERSION/Linux-PAM-$PKGVERSION.tar.xz" PKGOPTIONS="NLS SELINUX" PKGPROTECT="etc/environment + etc/pam.d/other + etc/pam.d/system-account + etc/pam.d/system-auth + etc/pam.d/system-password + etc/pam.d/system-session etc/security/access.conf etc/security/group.conf etc/security/limits.conf @@ -83,6 +88,11 @@ $with_selinux make make install DESTDIR=$DESTDIR + install -Dm0600 ../other $DESTDIR/etc/pam.d/other + install -Dm0600 ../system-account $DESTDIR/etc/pam.d/system-account + install -Dm0600 ../system-auth $DESTDIR/etc/pam.d/system-auth + install -Dm0600 ../system-password $DESTDIR/etc/pam.d/system-password + install -Dm0600 ../system-session $DESTDIR/etc/pam.d/system-session rm -f $DESTDIR/usr/lib/libpam{,c,_misc}.la rm -f $DESTDIR/usr/lib/security/pam*.la diff -r 3b0114bc7438 -r 30c785bd1da0 security/linux-pam/other --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/linux-pam/other Mon Apr 01 20:20:00 2019 +0200 @@ -0,0 +1,6 @@ +# /etc/pam.d/other: PAM configuration for Vanilla Linux + +auth required pam_unix.so nullok +account required pam_unix.so +session required pam_unix.so +password required pam_unix.so nullok diff -r 3b0114bc7438 -r 30c785bd1da0 security/linux-pam/system-account --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/linux-pam/system-account Mon Apr 01 20:20:00 2019 +0200 @@ -0,0 +1,3 @@ +# /etc/pam.d/system-account: PAM configuration for Vanilla Linux + +account required pam_unix.so diff -r 3b0114bc7438 -r 30c785bd1da0 security/linux-pam/system-auth --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/linux-pam/system-auth Mon Apr 01 20:20:00 2019 +0200 @@ -0,0 +1,3 @@ +# /etc/pam.d/system-auth: PAM configuration for Vanilla Linux + +auth required pam_unix.so diff -r 3b0114bc7438 -r 30c785bd1da0 security/linux-pam/system-password --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/linux-pam/system-password Mon Apr 01 20:20:00 2019 +0200 @@ -0,0 +1,3 @@ +# /etc/pam.d/system-password: PAM configuration for Vanilla Linux + +password required pam_unix.so shadow try_first_pass diff -r 3b0114bc7438 -r 30c785bd1da0 security/linux-pam/system-session --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/linux-pam/system-session Mon Apr 01 20:20:00 2019 +0200 @@ -0,0 +1,3 @@ +# /etc/pam.d/system-session: PAM configuration for Vanilla Linux + +session required pam_unix.so