vsftpd登录,提示 vsftpd 500 OOPS: chroot
在google之找到http://www.linuxquestions.org/questions/linux-networking-3/ftp-500-oops-cannot-change-directory-432558/
于是知道是selinux的问题,它有一个叫做”Allow ftp to read/write in the user home directories” 的选项。
使用如下命令
/usr/sbin/setsebool -P ftp_home_dir 1
打开选项,重启服务器,登录,一切ok了。
作者 迷路的游侠
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26585184/viewspace-761204/ ,如需转载,请注明出处,否则将追究法律责任。