write_enable=YES
dirmessage_enable=YES
local_enable=YES
anonymous_enable=NO
anon_world_readable_only=YES
syslog_enable=NO
log_ftp_protocol=YES
xferlog_enable=YES
vsftpd_log_file=/var/log/vsftpd.log
xferlog_std_format=NO
xferlog_file=/var/log/xferlog
connect_from_port_20=YES
pam_service_name=vsftpd
listen=YES
ssl_enable=NO
useradd username -d /srv/ftp/public
useradd username -d /srv/ftp/unpublic
passwd username
anonymous_enable=NO
Das hat angeblich security Auswirkungen, die ich ehrlich gesagt jetzt nicht überreisse
chroot_local_user
If set to YES, local users will be (by default) placed in a chroot() jail in their home directory after login. Warning: This option has security implications, especially if the users have upload permission, or shell access. Only enable if you know what you are doing. Note that these security implications are not vsftpd specific. They apply to all FTP daemons which offer to put local users in chroot() jails.
Default: NO