Making vsftpd with chrooted users work again on Ubuntu 12.04
2014-04-15 15:34
344 查看
http://blog.thefrontiergroup.com.au/2012/10/making-vsftpd-with-chrooted-users-work-again/
At The Frontier Group, we use vsftpd with chrooted users for clients that require FTP access. It has been working well for four years, however after a recent upgrade to Ubuntu 12.04 we started receiving this error message:
Ben Scobie has a good overview of the problem. One solution is adding the following to your vsftpd config file:
Unfortunately vsftpd 2.3.5, which is packaged in Ubuntu 12.04, doesn’t support this feature. It is only available in vsftpd 3 onwards.
As an alternative solution, we have backported it from vsftpd 3 into Ubuntu’s 2.3.5 package and made it available as a vsftpd PPA on Launchpad. To use it, run the
following:
Update (31 Jan 2013): @JeyeNooks has backported the feature to Ubuntu 12.10, and has uploaded his package here.
At The Frontier Group, we use vsftpd with chrooted users for clients that require FTP access. It has been working well for four years, however after a recent upgrade to Ubuntu 12.04 we started receiving this error message:
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
Ben Scobie has a good overview of the problem. One solution is adding the following to your vsftpd config file:
allow_writeable_chroot=YES
Unfortunately vsftpd 2.3.5, which is packaged in Ubuntu 12.04, doesn’t support this feature. It is only available in vsftpd 3 onwards.
As an alternative solution, we have backported it from vsftpd 3 into Ubuntu’s 2.3.5 package and made it available as a vsftpd PPA on Launchpad. To use it, run the
following:
sudo add-apt-repository ppa:thefrontiergroup/vsftpd sudo apt-get update sudo apt-get install vsftpd
Update (31 Jan 2013): @JeyeNooks has backported the feature to Ubuntu 12.10, and has uploaded his package here.
相关文章推荐
- MOUNT MACBOOK DISK (OSX / HFS+) ON UBUNTU 12.04 LTS WITH READ/WRITE
- How To Set Up vsftpd on Ubuntu 12.04
- MOUNT MACBOOK DISK (OSX / HFS+) ON UBUNTU 12.04 LTS WITH READ/WRITE
- Ubuntu_Installing Apache2 With PHP5 And MySQL Support On Ubuntu 12.04 LTS (LAMP)
- How To Install Wordpress with nginx on Ubuntu 12.04
- How to Set Up vsftpd on Ubuntu 12.04
- Setup VSFTPD Server with Virtual Users On CentOS, RHEL, Scientific Linux 6.5/6.4/6.3
- How to Use Memcached With Ruby on Rails on Ubuntu 12.04 LTS
- Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support (LEMP) On Ubuntu 12.04 LTS [repost]
- How to compile mplayer with vdpau support on Ubuntu
- Install OpenCV3.0 on Ubuntu(linaro)12.04 in ARM
- Install Simplescalar 3.0 on Ubuntu 12.04
- 升级 Vim 7.4 On Ubuntu 13.10, 13.04, 12.04, Linux...
- Installing yara-3.0 on Ubuntu 12.04
- [ HOWTO]Oracle Database 11g Release 2 on Ubuntu 12.04
- vsftpd在ubuntu server 12.04 下的设置。
- How To Install Java on Ubuntu with Apt-Get
- Vim的Python编辑器详细配置过程 (Based on Ubuntu 12.04 LTS)