first commit

This commit is contained in:
zj
2025-12-27 16:57:48 +08:00
commit dea50d88f0
8 changed files with 189 additions and 0 deletions

6
tms-vsftpd-config/vsftpd Normal file
View File

@@ -0,0 +1,6 @@
#%PAM-1.0
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
auth required /lib/security/pam_unix.so shadow nullok
auth required /lib/security/pam_nologin.so
account required /lib/security/pam_unix.so
session required /lib/security/pam_unix.so

View File

@@ -0,0 +1,21 @@
# 基本设置
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
chroot_local_user=YES
allow_writeable_chroot=YES
pasv_enable=YES
pasv_min_port=40000
pasv_max_port=50000
ssl_enable=NO
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
pam_service_name=vsftpd