vsftpd主配置文件

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=NO
anon_mkdir_write_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chown_uploads=NO
#xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
async_abor_enable=YES
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=This Vsftp server supports virtual users _
listen=YES
listen_port=21
pam_service_name=vsftpd
userlist_enable=YES
#chroot_local_user=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
#allow_writeable_chroot=YES
tcp_wrappers=YES
#guest_enable=YES
#guest_username=ftpvload
#virtual_use_local_privs=YES
user_config_dir=/etc/vsftpd/upload_user_config
##以下模块配置被动模式
##pasv_addr_resolve=yes
##pasv_enable=YES
##pasv_min_port=40000
##pasv_max_port=40002
##pasv_promiscuous=YES
##pasv_address=10.1.3.15

##以下模块配置SSL证书
##ssl_enable=YES
##allow_anon_ssl=NO
##force_local_data_ssl=NO
##force_local_logins_ssl=YES
#ssl_tlsv1=YES
##ssl_sslv2=NO
##ssl_sslv3=NO
#rsa_cert_file=/etc/ssl/certs/vsftpd.pem ## 根据自己的设置修改

你可能感兴趣的:(shell脚本)