Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
来源:互联网 发布:淘宝店铺怎样分类宝贝 编辑:程序博客网 时间:2024/05/23 13:43
After upgrading vsftpd or vsftpd-ext you may be getting the following message when trying to log in.
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
This is due to the following update:
- 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.
The problem is that your users root directory is writable, which isn’t allowed when using chroot restrictions in the new update.
To fix this you must either remove write permissions on the users root directory with the following command, replacing the directory with your users root:
chmod a-w /home/user
Or you can work around this security check by adding either of the two below into your configuration file.
For the standard vsFTPd build (vsftpd):
allow_writeable_chroot=YES
For the extended vsFTPd build (vsftpd-ext):
allow_writable_chroot=YES
Removing the write permission on the root isn’t a perfect solution as doing this can cause a few problems with things that need to write to the root directory, such as the bash history file or some graphical environments.
Dmitriy has suggested 3 ways to also overcome this problem, be sure to check them out.
- Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
- vsftpd:500 OOPS: vsftpd: refusing to run with writable root inside chroot ()错误的解决方法
- Linux联接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 ()错误的解决方法
- 解决方法 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()
- 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
- Centos 7 ftp连接出现500 OOPS: vsftpd: refusing to run with writable root inside chroot()
- vsftpd: refusing to run with writable root inside chroot
- vsftpd的refusing to run with writable root inside chroot
- Live555接收H264流判断关键帧
- Linux I2C驱动分析(二)----I2C板级设备扫描和数据传输
- 重构-以函数对象取代函数
- VIM C++ 成员自动补全插件
- 二叉树的先序、中序、后序非递归遍历的实现
- Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
- Struts2中的constant配置详解
- StrictMode 网络连接异常分析
- Linux RTC驱动分析(三)----sys和proc文件系统
- C语言字体背景颜色变换以及按键探测
- 控制左边栏div高度自动改变 和右边div一样高
- 设计模式 经典书籍必备推荐
- epoll_create, epoll_ctl和epoll_wait
- Java:正则去掉小数点后多余0