Wednesday, November 11, 2015

VSFTP chroot or jail users – limit users to only their home directory

Solved
  • 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 restart
Ref
  • 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

Popular Posts