SHA256
1
0
forked from pool/vsftpd
vsftpd/vsftpd.pam
Peter Simons 359fccbcd1 Accepting request 1115425 from home:kukuk:branches:network
- Add vsftpd.ftpusers, the netcfg one is not maintained, outdated
  and will be removed.
- vsftpd.pam: use own copy of ftpusers.

OBS-URL: https://build.opensuse.org/request/show/1115425
OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=181
2023-10-04 08:21:31 +00:00

17 lines
669 B
Plaintext

#%PAM-1.0
# Uncomment this to achieve what used to be ftpd -A.
# auth required pam_listfile.so item=user sense=allow file=/etc/ftpchroot onerr=fail
auth required pam_listfile.so item=user sense=deny file=/etc/vftpd/ftpusers onerr=succeed
# Uncomment the following line for anonymous ftp.
#auth sufficient pam_ftp.so
auth required pam_shells.so
auth include common-auth
account include common-account
password include common-password
session required pam_keyinit.so force revoke
session required pam_loginuid.so
session include common-session
session include postlogin-session