UmVirt LFS Package info

DB commit: 48bb9ee31306c82c48dfaaad707eb4f6a926eb8a
APP commit: 1ca4178aea919e4c9e869e3d650ff8af9678bd6f
[ BASH | XML | JSON ]

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.6.1.tar.xz
Source directory: Linux-PAM-1.6.1
Package URL: https://umvirt.com/linux/downloads/0.2.2/packages/l/Linux-PAM-1.6.1.tar.xz
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.2.2/packages/l/Linux-PAM-1.6.1.tar.xz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: fcron, libpwquality, proftpd, cups, exim, systemd, dovecot, gnome-keyring, lightdm-app, postgresql-client, postgresql-server, xscreensaver, polkit, samba.
Patches: *** NO PATCHES FOUND ***
Addons: Linux-PAM-1.6.1-docs.tar.xz.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
autoreconf -fi

if [[ "$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

tar -xf ../Linux-PAM-1.6.1-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.6.1

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

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