UmVirt LFS Package info

📦Package info

🔙Parent Directory  -

DB commit: f9aede95e4e5157a46ec1323bb7abf8947e8632d
APP commit:
[ 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.0.tar.xz
Source directory: Linux-PAM-1.6.0
Package URL: https://ulfs.org/linux/downloads/package_files/0.2.1/packages/l/Linux-PAM-1.6.0.tar.xz
Package md5-checksum URL: https://ulfs.org/linux/downloads/package_files/0.2.1/packages/l/Linux-PAM-1.6.0.tar.xz.md5sum
Dependances: *** NO DEPENDANCES FOUND ***
Dependance of: libpwquality, fcron, cups, proftpd, systemd, exim, gnome-keyring, lightdm-app, dovecot, polkit, postgresql-client, postgresql-server, xscreensaver, samba.
Patches: *** NO PATCHES FOUND ***
Addons: Linux-PAM-1.6.0-docs.tar.xz.
Nestings *** NO NESTINGS FOUND ***
Configuration script:
if [[ "$ULFS_PKG_DOCUMENTATION" == "YES" ]]
then

tar -xf ../Linux-PAM-1.6.0-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.0

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


Apache/2.4.62 (Debian) Server at ulfs.org Port 443