xref: /netbsd-src/etc/pam.d/ftpd.in (revision 000a9a1b5ac559b46dfb6a3b28e0423603680f79)
1# $NetBSD: ftpd.in,v 1.1 2024/12/30 21:59:08 jmmv 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