⌘BABAKOV.NET Let's code!
100% [dark] [ru]

How to Jail FTP User in Their Own Folder on Linux

Recipe to jail FTP user in their own folder.

Add to vsftpd.conf:

local_enable=YES
allow_writeable_chroot=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list

In the file /etc/vsftpd.chroot_list you need to specify UserId of users for whom this rule will apply.

Comments (0)

No comments yet.

Leave a comment
Comment
Images (up to 5 MB)
Your comment will appear after moderation.