UmVirt LFS Package info

DB commit: c78e95157185199cceff370fa5b5f1dd2a1be2fa
APP commit: cac3f2066a9a05955b29d720b9b9b14f534d21c2

Linux-PAM

The Linux PAM package contains Pluggable Authentication Modules used to enable the local system administrator to choose how applications authenticate users.

Package info

Codename: Linux-PAM
Source file: Linux-PAM-1.3.0.tar.bz2
Source directory: Linux-PAM-1.3.0
Package URL: https://umvirt.com/linux/downloads/0.1/packages/l/Linux-PAM-1.3.0.tar.bz2
Package md5-checksum URL: https://umvirt.com/linux/downloads/0.1/packages/l/Linux-PAM-1.3.0.tar.bz2.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: libcap-pam, cifs-utils-pam, sudo, systemd, lxdm, xscreensaver, dovecot, exim, cupsd, gdm, lightdm-base, polkit, gnome-keyring, postgresql-client, postgresql-server, tigervnc-server.
Patches: *** NO PATCHES FOUND ***
Addons: *** NO ADDONS FOUND ***
Nestings *** NO NESTINGS FOUND ***
Configuration script:
./configure --prefix=/usr                    \
            --sysconfdir=/etc                \
            --libdir=/usr/lib                \
            --disable-regenerate-docu        \
            --enable-securedir=/lib/security \
            --docdir=/usr/share/doc/Linux-PAM-1.3.0

Build script:
make

Install script:
rm -fv /etc/pam.d/*

install -v -m755 -d /etc/pam.d &&

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

for file in pam pam_misc pamc
do
  mv -v /usr/lib/lib\${file}.so.* /lib &&
  ln -sfv ../../lib/\$(readlink /usr/lib/lib\${file}.so) /usr/lib/lib\${file}.so
done

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 sha512 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       sha512 shadow try_first_pass

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