> CentOS > CentOS故障 >

CentOS 配置vsftpd 登陆报错500 OOPS: could not open chroot()

从这个错误上是说打不开这个文件,

和配置:

----------------

限制用户只能访问配置的目录,不能访问其他路径
修改/etc/vsftpd/vsftpd.conf
chroot_list_enable=YES //限制访问自身目录
# (default follows)
------------------

有关.

为了限制在当前目录,但是因为这个配置要去读取vsftpd/chroot_list这个文件 我没有创建这个文件 就报错了

这个是受限的用户列表.

建立这个用户列表,不需要写内容就可以了.
(责任编辑:IT)