diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-05-14 14:15:46 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-05-15 00:02:52 +0000 |
| commit | 7a8747f53498fe2e3ff0f87ce2a184316b115ae5 (patch) | |
| tree | 473fdbf4035161192ca47d99383be3ce6d820596 /lib/libpam | |
| parent | 2b05168eb8647262da7ce3506a3599b8be966845 (diff) | |
Diffstat (limited to 'lib/libpam')
| -rw-r--r-- | lib/libpam/pam.d/Makefile | 11 | ||||
| -rw-r--r-- | lib/libpam/pam.d/ftp | 13 |
2 files changed, 17 insertions, 7 deletions
diff --git a/lib/libpam/pam.d/Makefile b/lib/libpam/pam.d/Makefile index 5dccf590ee4e..a58c37b6c223 100644 --- a/lib/libpam/pam.d/Makefile +++ b/lib/libpam/pam.d/Makefile @@ -22,18 +22,15 @@ CRONPACKAGE= cron .if ${MK_AT} != "no" CONFGROUPS+= AT -AT+= atrun +AT+= atrun ATPACKAGE+= at .endif .if ${MK_FTP} != "no" CONFGROUPS+= FTP -FTP+= ftpd -FTPPACKAGE= ftp - -LINKMODE= ${CONFMODE} -afterinstallconfig: - ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${CONFDIR}/ftpd ${DESTDIR}${CONFDIR}/ftp +FTP+= ftp ftpd +# Do not put these in the ftp package, since ports also use them. +FTPPACKAGE= runtime .endif .include <bsd.prog.mk> diff --git a/lib/libpam/pam.d/ftp b/lib/libpam/pam.d/ftp new file mode 100644 index 000000000000..1c255441dca6 --- /dev/null +++ b/lib/libpam/pam.d/ftp @@ -0,0 +1,13 @@ +# +# PAM configuration for the "ftp" service. This is not used by the FreeBSD +# ftpd(8), but is provided for compatibility with FTP servers from ports. +# + +# auth +auth include ftpd + +# account +account include ftpd + +# session +session include ftpd |
