first commit
This commit is contained in:
6
tms-vsftpd-config/vsftpd
Normal file
6
tms-vsftpd-config/vsftpd
Normal 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
|
||||
21
tms-vsftpd-config/vsftpd.conf
Normal file
21
tms-vsftpd-config/vsftpd.conf
Normal 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
|
||||
Reference in New Issue
Block a user