Configuring Linux-PAM
Config files
/etc/pam.d or /etc/pam.conf
Configuration Information
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 man page,
man pam 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
are also available for further reading.