Linux联接vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误
2015-05-09 22:53
447 查看
当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误:
[html] view
plaincopy
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
这个问题发生在最新的这是由于下面的更新造成的:
[html] view
plaincopy
- Add stronger checks for the configuration error of running with a writeable root directory inside a chroot(). This may bite people who carelessly turned on chroot_local_user but such is life.
从2.3.5之后,vsftpd增强了安全检查,如果用户被限定在了其主目录下,则该用户的主目录不能再具有写权限了!如果检查发现还有写权限,就会报该错误。
要修复这个错误,
方案一:用命令chmod a-w /home/user去除用户主目录的写权限,注意把目录替换成你自己的。
方案二:在vsftpd的配置文件中增加下列两项中的一项 allow_writeable_chroot=YES
重启vsftpd服务,用户就只能在自己的主目录活动了
原文参考学习大牛文章,感谢:http://blog.csdn.net/bluishglc/article/details/42399439
[html] view
plaincopy
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
这个问题发生在最新的这是由于下面的更新造成的:
[html] view
plaincopy
- Add stronger checks for the configuration error of running with a writeable root directory inside a chroot(). This may bite people who carelessly turned on chroot_local_user but such is life.
从2.3.5之后,vsftpd增强了安全检查,如果用户被限定在了其主目录下,则该用户的主目录不能再具有写权限了!如果检查发现还有写权限,就会报该错误。
要修复这个错误,
方案一:用命令chmod a-w /home/user去除用户主目录的写权限,注意把目录替换成你自己的。
方案二:在vsftpd的配置文件中增加下列两项中的一项 allow_writeable_chroot=YES
重启vsftpd服务,用户就只能在自己的主目录活动了
原文参考学习大牛文章,感谢:http://blog.csdn.net/bluishglc/article/details/42399439
相关文章推荐
- vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法
- vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法
- vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法
- vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法
- vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法
- vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法
- 【转】vsftp 遇到错误 500 OOPS: vsftpd: refusing to run with writable root inside chroot()--不错
- Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot () 不能上传文件和文件夹
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot()解决方案
- ubuntu16.04 ftp 连接 提示 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- Centos 7之后的vsftpd报500 OOPS: vsftpd: refusing to run with writable root inside chroot
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- vsftpd之解决500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
- vsftpd 服务器报错:500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot()