NetBSD/etc/pam.d/ftpd
tsarna a3e8f0991e Add pam_afslog. Like pam_krb5, this is a fast, quiet no-op if you aren't
actually using it the subsystem.

Approved by: gendalia
2005-09-22 01:02:12 +00:00

22 lines
608 B
Plaintext

# $NetBSD: ftpd,v 1.6 2005/09/22 01:02:12 tsarna Exp $
#
# PAM configuration for the "ftpd" service
#
# auth
# This looks very much like "system", but lacks the "nullok" option on
# pam_unix.
auth required pam_nologin.so no_warn
auth sufficient pam_krb5.so no_warn try_first_pass
auth optional pam_afslog.so no_warn try_first_pass
auth required pam_unix.so no_warn try_first_pass
# account
# Even though this is identical to "system", we open code it here because
# we open code the auth stack.
account required pam_krb5.so
account required pam_unix.so
# session
session required pam_permit.so