listen=YES                                         
#listen_ipv6=YES
#anonymous_enable=YES                                 #启用匿名用户登录
#anon_write_enable=YES                                 #匿名用户写权限
#anon_upload_enable=YES                              #允许匿名用户上传
#anon_mkdir_write_enable=YES                      #允许匿名用户建立目录
#anon_other_write_enable=YES                       #匿名用户其它写权限
#anon_world_readable_only=YES
#anon_max_rate=50000                                   # 匿名用户传输速率50K
#anon_root=/var/run/vsftpd/empty                     #匿名用户主目录
local_enable=YES                                             #本地用户登录
#local_max_rate=500000                                  #本地用户传输速率500K
write_enable=YES                                             #允许用户写入数据
local_umask=022                                               #上传文件权限755
#dirmessage_enable=YES
#use_localtime=YES                                          #使用本地时间
#xferlog_enable=YES                                        #记录日志
#xferlog_file=/var/log/vsftpd.log                          #日志存放地点
#xferlog_std_format=YES                                  #日志格式使用标准格式
connect_from_port_20=YES
#chown_uploads=YES                                       #更改上传文件的所属权
#chown_username=whoever                               #上传文件所属改成whoever与上一个命令相关设置
idle_session_timeout=600                                    #空闲超时10分钟
#data_connection_timeout=120                           #数据连接超时
#nopriv_user=ftpsecure
#async_abor_enable=YES
ascii_upload_enable=YES                                      #允许ascii方式上传
ascii_download_enable=YES                                 #允许ascii方式下载
ftpd_banner=Welcome to Frank's FTP server         #欢迎信息
#deny_email_enable=YES                                      #发送拒绝登录消息
#banned_email_file=/etc/vsftpd.banned_emails        #拒绝消息内容
chroot_local_user=YES                                          #锁定本地用户登录主目录,防止用户进入根目录
#chroot_list_enable=YES                                        #启用锁定用户列表
#chroot_list_file=/etc/vsftpd.chroot_list                    #锁定用户列表文件
#ls_recurse_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd                                      #PAM文件
rsa_cert_file=/etc/ssl/private/vsftpd.pem                   #rsa文件位置
local_root=/usr/frank                                               #全局用户主目录
#max_clients=50                                                     #最大连接客户端
#max_per_ip=10                                                    #每个IP允许10个连接
#pasv_min_port=63555                                         #被动模式传输最小端口
#pasv_max_port=64555                                        #被动模式传输最大端口