--- pam/pure-ftpd		Mon Nov 24 11:14:35 2003
+++ pam/pure-ftpd		Sun Dec 21 17:26:03 2003
@@ -1,16 +1,8 @@
-#%PAM-1.0
-
-# Sample PAM configuration file for Pure-FTPd.
-# Install it in /etc/pam.d/pure-ftpd or add to /etc/pam.conf
-
-auth       required     pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
-auth       required     pam_stack.so service=system-auth
-auth       required     pam_shells.so
-auth       required     pam_nologin.so
-
-account    required     pam_stack.so service=system-auth
-
-password   required     pam_stack.so service=system-auth
-
-session    required     pam_stack.so service=system-auth
-
+# pure-ftpd: auth account password session
+auth required pam_nologin.so
+auth sufficient pam_securityserver.so
+auth sufficient pam_unix.so
+auth required pam_deny.so
+account required pam_permit.so
+password required pam_deny.so
+session required pam_uwtmp.so
