User Tools

Site Tools


ubuntu:ftp:chroot_users_in_vsftpd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubuntu:ftp:chroot_users_in_vsftpd [2019/11/29 14:03] – created peterubuntu:ftp:chroot_users_in_vsftpd [2019/11/29 14:46] (current) – removed peter
Line 1: Line 1:
-====== 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: ===== 
- 
-<code bash> 
-vi /etc/vsftpd.conf 
-</code> 
- 
-and modify as: 
- 
-<code bash> 
-chroot_local_user=YES 
-chroot_list_enable=NO 
-</code> 
- 
----- 
- 
-===== 2. Just some users are jailed: ===== 
- 
-<code bash> 
-vi /etc/vsftpd.conf 
-</code> 
- 
-and modify as: 
- 
-<code bash> 
-chroot_local_user=NO 
-chroot_list_enable=YES 
-</code> 
- 
- 
-Create the file **/etc/vsftpd.chroot_list** with a list of the jailed users. 
- 
----- 
- 
-===== 3. Just some users are "free": ===== 
- 
-<code bash> 
-vi /etc/vsftpd.conf 
-</code> 
- 
-and modify as: 
- 
-<code bash> 
-chroot_local_user=YES 
-chroot_list_enable=YES 
-</code> 
- 
-Create the file **/etc/vsftpd.chroot_list** with a list of the "free" users. 
  
ubuntu/ftp/chroot_users_in_vsftpd.1575036222.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki