#
# $FreeBSD: src/etc/pam.d/xdm,v 1.12 2009/10/05 09:28:54 des Exp $
#
# PAM configuration for the "xdm" service
#

# auth
#auth		sufficient	pam_krb5.so		no_warn try_first_pass
#auth		sufficient	pam_ssh.so		no_warn try_first_pass
auth		required	pam_unix.so		no_warn try_first_pass

# account
account		required	pam_nologin.so
#account	required	pam_krb5.so
account		required	pam_unix.so

# session
#session	required	pam_ssh.so		want_agent
# xdm has a software bug in it where session callbacks can occur
# after the widget has been destroyed, causing a seg-fault.  Commenting
# out the session line works around the problem.
#session	required	pam_lastlog.so		no_fail

# password
password	required	pam_deny.so
