排除防火墙,服务没开启,密码不正确等问题后。


创建新用户应useradd -m -s /bin/bash username

修改/etc/vsftpd.conf中的chroot_local_user=YES

去掉家目录写权限chmod a-w 家目录路径