1)编辑两个FTP配置文件:/etc/vsftpd.ftpusers和/etc/vsftpd.user_list,将root那一行删掉或#注释掉; 2)重启vsftpd服务:# service vsftpd restart。