Based on the the Securing Debian article on debian.org, I added the following to /etc/pam.d/other.
auth required pam_securetty.so auth required pam_unix_auth.so auth required pam_warn.so auth required pam_deny.so account required pam_unix_acct.so account required pam_warn.so account required pam_deny.so password required pam_unix_passwd.so password required pam_warn.so password required pam_deny.so session required pam_unix_session.so session required pam_warn.so session required pam_deny.so
After I entered these, as the article suggested, I started getting errors in /var/log/auth.log
E.g.
PAM unable to dlopen(/lib/security/pam_unix_session.so): /lib/security/pam_unix_session.so: cannot open shared object file: No such file or directory PAM adding faulty module: /lib/security/pam_unix_session.so
Is the configuration mentioned in the above article still relevant in Debian Squeeze?