这个问题是默认配置造成的,编辑配置文件:
vim /etc/vsftpd.conf
修改
pam_service_name=vsftpd
为
pam_service_name=ftp
之后重启服务即可。