Skip to the content of the web site.

Linux | SystemAuth2

##this is the system-auth file which first tries mount the user's home directory with the user name and password if fails it carries on,
##then authenticates against the PDC, if that fails it tries the local shadow file, notice also the pam_mount at the end to umount and shares

auth required /lib/security/pam_env.so
auth optional /lib/security/pam_mount.so
auth sufficient /lib/security/pam_smb_auth.so
auth sufficient /lib/security/pam_unix.so use_first_pass likeauth nullok
auth required /lib/security/pam_deny.so

account required /lib/security/pam_unix.so

password required /lib/security/pam_cracklib.so retry=3 type=
password sufficient /lib/security/pam_unix.so nullok use_authtok
password required /lib/security/pam_deny.so

session required /lib/security/pam_limits.so
session required /lib/security/pam_unix.so
session optional /lib/security/pam_mount.so

-- CoryCater - 26 Aug 2004