zoukankan      html  css  js  c++  java
  • 500 OOPS: vsftpd: refusing to run with writable root inside chroot() Login failed. 421 Service not available, remote server has closed connection

    该错误是由于从2.3.5之后,vsftpd增强了安全检查,如果用户被限定在了其主目录下,则该用户的主目录不能再具有写权限了!如果检查发现还有写权限,就会报该错误。

    当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误:

    500 OOPS: vsftpd: refusing to run with writable root inside chroot()
    Login failed.
    421 Service not available, remote server has closed connection

     要修复这个错误,有两个办法

    (一)使用命令进行删减权限,亲自测试可用

    sudo chmod a-w /srv/ftp

    (二)在配置文件增加如下选项

    allow_writeable_chroot=YES
  • 相关阅读:
    滚动加载图片
    轮播图
    各种插件
    IE兼容
    文字换行
    CSS3 transform用法
    隐藏手机号中间几位数
    js实现收藏,首页等功能
    loading练习
    animation练习
  • 原文地址:https://www.cnblogs.com/yellowzunzhi/p/12532472.html
Copyright © 2011-2022 走看看