UmVirt LFS Package info

DB commit: 57bed5a54ba91b88b24a1c8eb97bd083dbf72f0d
APP commit: 634ff2193dea70dde75eb1916d758638b7417453

Linux-PAM

The Linux PAM package contains Pluggable Authentication Modules used by the local system administrator to control how application programs authenticate users.

Package info

Codename: Linux-PAM
Source file: Linux-PAM-1.5.3.tar.xz
Source directory: Linux-PAM-1.5.3
Package URL: https://umvirt.com/linux/downloads/0.2/packages/l/Linux-PAM-1.5.3.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2/packages/l/Linux-PAM-1.5.3.tar.xz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: libpwquality, fcron, systemd, cups, proftpd, exim, gnome-keyring, lightdm-app, dovecot, samba, postgresql-client, postgresql-server, polkit-123.
Patches: *** NO PATCHES FOUND ***
Addons: Linux-PAM-1.5.3-docs.tar.xz.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
if [[ "$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

tar -xf ../Linux-PAM-1.5.3-docs.tar.xz --strip-components=1

fi

./configure --prefix=/usr                        \
            --sbindir=/usr/sbin                  \
            --sysconfdir=/etc                    \
            --libdir=/usr/lib                    \
            --enable-securedir=/usr/lib/security \
            --docdir=/usr/share/doc/Linux-PAM-1.5.3 

Build script:
make

Install script:
install -v -m755 -d /etc/pam.d &&

cat > /etc/pam.d/other << "EOF"
auth     required       pam_deny.so
account  required       pam_deny.so
password required       pam_deny.so
session  required       pam_deny.so
EOF

rm -fv /etc/pam.d/other

make install &&
chmod -v 4755 /usr/sbin/unix_chkpwd

# Begin /etc/pam.d/other

auth            required        pam_unix.so     nullok
account         required        pam_unix.so
session         required        pam_unix.so
password        required        pam_unix.so     nullok

# End /etc/pam.d/other

install -vdm755 /etc/pam.d &&
cat > /etc/pam.d/system-account << "EOF" &&
# Begin /etc/pam.d/system-account

account   required    pam_unix.so

# End /etc/pam.d/system-account
EOF

cat > /etc/pam.d/system-auth << "EOF" &&
# Begin /etc/pam.d/system-auth

auth      required    pam_unix.so

# End /etc/pam.d/system-auth
EOF

cat > /etc/pam.d/system-session << "EOF" &&
# Begin /etc/pam.d/system-session

session   required    pam_unix.so

# End /etc/pam.d/system-session
EOF

cat > /etc/pam.d/system-password << "EOF"
# Begin /etc/pam.d/system-password

# use yescrypt hash for encryption, use shadow, and try to use any
# previously defined authentication token (chosen password) set by any
# prior module.
password  required    pam_unix.so       yescrypt shadow try_first_pass

# End /etc/pam.d/system-password
EOF