View Full Version : chroot / vsftpd
I'm using vsftpd as my FTP server, and I'd like to chroot my FTP users to their home dir. How can I do it?
/etc/vsftpd.conf and restart vsftpd. That chroots each user to the directory specified in /etc/passwd. If you want to chroot a user to another directory than his home directory, simply put a dot (.) in the path to his home directory in /etc/passwd:
would chroot the user admin to /home instead of /home/admin.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.