错误“500 oops: could not read chroot() list file:/etc/vsftpd/chroot_list”表明vsftpd无法读取位于/etc/vsftpd/chroot_list的文件。这通常是因为文件不存在、路径错误或vsftpd进程没有足够的权限来访问该文件。 检查文件路径和权限: 首先,确保/etc/vsftpd/chroot_list文件确实存在于你的系统中。你可以使用以下...
连接ftp失败,提示:500 OOPS: could not read chroot() list file:/etc/vsftpd/chroot_list 检查配置配置文件: #vim /etc/vsftpd/vsftpd.conf 文件为:/etc/vsftpd/chroot_list 到/etc/vsftpd/下发现没有chroot_list文件 创建并编辑/etc/vsftpd/chroot_list 将需要访问的用户添加上 保存,重启服务 登录成功...
chroot_list_file=/路径/vsftpd.chroot_list,这里的路径你可以自己指定,之后你要到指定的路径下面创建vsftpd.chroot_list文件。 上面两个设置的意思是(我自己的理解,呵呵!),第一个说明chroot_list这个列表有用,第二个是指明列表的位置。那接着说这个列表的作用,也就是这个vsftpd.chroot_list的作用吧。 做个试验,...
500 OOPS: could not read chroot() list file:/etc/vsftpd.chroot_list 2018-03-07 14:46 −... 暗渡陈仓xy 0 10327 500 OOPS: vsftpd: refusing to run with writable root inside chroot() 2019-12-04 14:51 −将所有用户禁锢在自己的家目录下时,修改配置文件/etc/vsftpd/vsftpd.conf chroot_loc...
chroot_list_file=/etc/vsftpd/chroot_list:当chroot_list_enable为YES才需要配置此文件,表示例外的用户。至于是限制名单还是排除名单, 需要参考chroot_local_user的值. allow_writeable_chroot=YES:表示让家目录可写,具体的解释在下面。 结合起来使用:
500 OOPS: could not read chroot() list file:/etc/vsftpd.chroot_list Login failed. 解决:是因为没有这个文件。在/etc/下面新建一个chroot.chroot_list 通过与chroot_local_user=YES/NO搭配能实现以下几种效果: 1、当chroot_list_enable=YES,chroot_local_user=YES时,在/etc/vsftpd.chroot_list文件中列出...
chroot_list_file=/etc/vsftpd/chroot_list #指定限制的用户文件 chroot_local_user这个参数在配置文件中是没有的,需要的时候要手动添加。 是否将所有用户锁定在主目录,YES为启用 NO禁用.(包括注释掉也为禁用) 可以通过如下两种方法来设置chroot,从而杜绝不安全的情况发生: ...
vsftpd目录限制chroot(用户隔离)500错误分析以及解决方案1)chroot_list文件不存在2)安全问题500 OOPS: vsftpd: refusing to run with weitable root inside chroot()chroot_local_user=YESchroot_list_enable=YESchroot_list_file=/etc/vsftpd/chroot_list
chroot_list_file=/etc/vsftpd/chroot_list allow_writeable_chroot=YES 创建chroot_list文件 /etc/vsftpd/chroot_list 直接保存就行,然后重启一下vsftpd systemctl restart vsftpd 可以用netstat -ntlp 查看一下端口,如果有21号端口占用,就是启动成功了。
打开/etc/vsftpd/vsftpd.conf,做如下配置: chroot_local_user=YES chroot_list_enable=YES chroot_list_file=/etc/chroot_list 第二步, 在/etc/vsftpd下新建chroot_list,加入登陆用户的名字。(用户需要配置密码,在这里就不详述如何添加用户和密码了) 第三步,测试一下 成功!希望帮到大家...