2008-03-26 14:31:17 +03:00
|
|
|
# $NetBSD: ftpd,v 1.7 2008/03/26 11:31:17 lukem Exp $
|
2004-12-12 11:48:21 +03:00
|
|
|
#
|
|
|
|
# PAM configuration for the "ftpd" service
|
|
|
|
#
|
|
|
|
|
|
|
|
# auth
|
2005-02-27 06:40:14 +03:00
|
|
|
# This looks very much like "system", but lacks the "nullok" option on
|
|
|
|
# pam_unix.
|
2004-12-12 11:48:21 +03:00
|
|
|
auth required pam_nologin.so no_warn
|
2008-03-26 14:31:17 +03:00
|
|
|
auth sufficient pam_skey.so no_warn try_first_pass
|
2005-02-27 06:40:14 +03:00
|
|
|
auth sufficient pam_krb5.so no_warn try_first_pass
|
2005-09-22 05:02:12 +04:00
|
|
|
auth optional pam_afslog.so no_warn try_first_pass
|
2004-12-12 11:48:21 +03:00
|
|
|
auth required pam_unix.so no_warn try_first_pass
|
|
|
|
|
|
|
|
# account
|
2005-02-27 06:40:14 +03:00
|
|
|
# Even though this is identical to "system", we open code it here because
|
|
|
|
# we open code the auth stack.
|
|
|
|
account required pam_krb5.so
|
2004-12-12 11:48:21 +03:00
|
|
|
account required pam_unix.so
|
|
|
|
|
|
|
|
# session
|
|
|
|
session required pam_permit.so
|