Configuring and understanding pam
What the heck is pam?
The configuration files
Tweak pam