Download location (HTTP): http://www.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.76.tar.gz Download location (FTP): Version used: 0.76 Package size: 428 KB Estimated Disk space required: 4.1 MB |
The Linux_PAM package contains Pluggable Authentication Modules. This is useful to enable the local system administrator to choose how applications authenticate users.
Linux_PAM will utilize: cracklib |
Install Linux_PAM by running the following commands:
./configure --prefix=/usr --enable-static-libpam --with-mailspool=/var/mail \ --enable-both-confs --sysconfdir=/etc && make && make install |
--enable-static-libpam : This command builds static PAM libraries as well as the dynamic libraries.
--with-mailspool=/var/mail : This command makes the mailspool directory FHS compliant.
--enable-both-confs : This command lets the local administrator choose which configuration file setup to use.
/etc/pam.d /etc/pam.conf
Configuration information is placed in /etc/pam.d or /etc/pam.conf depending on the application that is using PAM. Below are example files of each type:
# 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 # Begin /etc/pam.conf other auth required pam_unix.so nullok other account required pam_unix.so other session required pam_unix.so other password required pam_unix.so nullok # End /etc/pam.conf |
The pam manpage provides a good starting point for descriptions of fields and allowable entries. The Linux-PAM guide for system administrators and two PAM hints located at http://hints.linuxfromscratch.org are also available for further reading.
The Linux_PAM package contains unix-chkpwd and libpam libraries.
No description available.
libpam libraries provide the interfaces between applications and the PAM modules.