# Note: depends on flex wget -c http://www.linux-pam.org/library/Linux-PAM-1.3.0.tar.bz2 tar -xjf Linux-PAM-1.3.0.tar.bz2 cd Linux-PAM-1.3.0 mkdir -p build cd build ../configure --prefix="/usr" --disable-nis --disable-db make # Doesn't mind -j# make install # Default config mkdir -p /etc/pam.d echo 'auth required pam_unix.so' > /etc/pam.d/system-login echo 'account required pam_unix.so' >> /etc/pam.d/system-login echo 'password required pam_unix.so' >> /etc/pam.d/system-login echo 'session required pam_unix.so' >> /etc/pam.d/system-login