Skip to content

Instantly share code, notes, and snippets.

@2get
Created May 20, 2014 03:27
Show Gist options
  • Save 2get/12ab49d5a624d866ad2d to your computer and use it in GitHub Desktop.
Save 2get/12ab49d5a624d866ad2d to your computer and use it in GitHub Desktop.
Ubuntu 12.10 vsftpd: version 3.0.2 my configuration
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=ftp
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
chroot_local_user=YES
chroot_list_enable=YES
local_root=ftp
chroot_list_file=/etc/vsftpd.chroot_list
allow_writeable_chroot=YES
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd.user_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment