1# $NetBSD: ftpd,v 1.8 2023/06/20 22:00:00 riastradh Exp $
2#
3# PAM configuration for the "ftpd" service
4#
5
6# auth
7# This looks very much like "system", but lacks the "nullok" option on
8# pam_unix.
9auth		required	pam_nologin.so		no_warn
10auth		sufficient	pam_skey.so		no_warn try_first_pass
11#auth		sufficient	pam_krb5.so		no_warn try_first_pass
12auth		optional	pam_afslog.so		no_warn try_first_pass
13auth		required	pam_unix.so		no_warn try_first_pass
14
15# account
16# Even though this is identical to "system", we open code it here because
17# we open code the auth stack.
18#account	required	pam_krb5.so
19account		required	pam_unix.so
20
21# session
22session		required	pam_permit.so
23