检查是否安装vsftpd:
服务器
rpm -qa | grep vsftpdide
主配置文件:spa
/etc/vsftpd/vsftpd.conform
指定哪些用户不能访问FTP服务器:it
/etc/vsftpd/ftpusersclass
****************************************ftp
/etc/vsftpd/user_list配置
在vsftpd.conf中设置了userlist_enable=YES,且userlist_deny=YES时,user_list中指定的用户不能访问FTP服务器file
在vsftpd.conf中设置了userlist_enable=YES,且userlist_deny=NO时,user_list中指定的用户能够访问FTP服务器grep
anon_other_write_enable=YES #匿名用户能够删除OR重命名文件(文件夹)
不容许全部用户切换到其home目录之外的其余目录
chroot_local_user=YES
不容许某些用户切换到其home目录之外的其余目录
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list