编辑 /etc/vsftpd.conf 如下:
listen=YES anonymous_enable=NO local_enable=YES check_shell=NO write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES #chroot_list_enable=YES pam_service_name=ftp
参考链接:https://www.jb51.net/LINUXjishu/138726.html