#=============================================== # User #=============================================== anonymous_enable=NO # Uncomment this to allow local users to log in. local_enable=NO userlist_enable=YES userlist_deny=NO #------------------------------------------------ write_enable=YES # 022 -> chmod 755 xxxx local_umask=022 #messages given to remote users when they go into a certain directory. dirmessage_enable=NO # Activate logging of uploads/downloads. xferlog_enable=YES connect_from_port_20=YES # If you want, you can have your log file in standard ftpd xferlog format. # Note that the default log file location is /var/log/xferlog in this case. # No is vsftpd format. xferlog_std_format=NO # By default the server will pretend to allow ASCII mode but in fact ignore # the request. Turn on the below options to have the server actually do ASCII # mangling on files when in ASCII mode. ascii_upload_enable=YES ascii_download_enable=YES # Default is GMT. So change to localtime use_localtime=YES chroot_local_user=YES listen=YES #listen_ipv6=YES pam_service_name=vsftpd tcp_wrappers=YES
# vsftpd userlist # If userlist_deny=NO, only allow users in this file # If userlist_deny=YES (default), never allow users in this file, and # do not even prompt for a password. # Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers # for users that are denied. ftpuser01 ftpuser02