- Open vsftpd configuration file - /etc/vsftpd.conf
sudo vi /etc/vsftpd/vsftpd.conf
- Make sure following line exists (and uncommented):
chroot_local_user=YES
- Save and close the file. Restart vsftpd.
sudo service vsftpd restartRef
- Tested on Ubuntu 14.04
- http://www.cyberciti.biz/tips/vsftp-chroot-users-limit-to-only-their-home-directory.html
- http://unix.stackexchange.com/questions/90472/jail-only-a-specific-user-with-vsftpd
- http://unix.stackexchange.com/questions/94603/limit-ftp-access-only-to-the-var-www-with-vsftpd
No comments:
Post a Comment