User Tools

Site Tools


ubuntu:ftp:vsftp:chroot_users_in_vsftpd

Ubuntu - FTP - VSFTP - Chroot users in VsFtpd

To jail / chroot users (not the VsFtpd service), there are three choices. Search for “chroot_local_users” on the file and consider one of the following:


1. All users are jailed by default:

vi /etc/vsftpd.conf

and modify as:

chroot_local_user=YES
chroot_list_enable=NO

2. Just some users are jailed:

vi /etc/vsftpd.conf

and modify as:

chroot_local_user=NO
chroot_list_enable=YES

Create the file /etc/vsftpd.chroot_list with a list of the jailed users.


3. Just some users are "free":

vi /etc/vsftpd.conf

and modify as:

chroot_local_user=YES
chroot_list_enable=YES

Create the file /etc/vsftpd.chroot_list with a list of the “free” users.

ubuntu/ftp/vsftp/chroot_users_in_vsftpd.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki