How to Restrict VSFTPD Users to Their Home Directories


Editing user access directory:

Edit: vsftpd.conf

#chroot_list_enable=YES

Change to:

chroot_list_enable=YES

Create: chroot_list. Since the chroot_list file does not exist after installing vsftpd, we need to create it ourselves.

touch chroot_list

Enter the username (using 123 as an example):

123

Leave a Comment

Your email address will not be published.