避免踩坑,特此记录...

 

yum -y install vsftpd


useradd -d /www -s /sbin/nologin sui


# 修改vsftpd配置文件/etc/vsftpd/vsftpd.conf(其他全部默认)

chroot_local_user=YES


allow_writeable_chroot=YES  


重启:service vsftpd restart

 

相关文章: