Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My sample VSFTPD config for ubuntu-Server.
- Its a good idea to backup you main config file of VSFTPD by typing:
- cp /etc/vsftpd.conf /etc/vsftpd.conf.bak
- #Config file for vsftpd (FTP Server)
- #Config without SSL
- listen=YES
- listen_ipv6=NO
- local_enable=YES
- write_enable=YES
- file_open_mode=0777
- local_umask=002
- anonymous_enable=NO
- anon_upload_enable=NO
- anon_mkdir_write_enable=NO
- use_localtime=YES
- xferlog_enable=YES
- xferlog_file=/var/log/vsftpd.log
- xferlog_std_format=YES
- connect_from_port_20=NO
- chown_uploads=NO
- chown_username=whoever
- idle_session_timeout=120
- data_connection_timeout=120
- connect_timeout=30
- max_clients=5
- max_login_fails=2
- nopriv_user=ftpsecure
- async_abor_enable=NO
- ascii_upload_enable=YES
- ascii_download_enable=YES
- delete_failed_uploads=YES
- dirmessage_enable=NO
- ftpd_banner=FTP Server login
- deny_email_enable=NO
- banned_email_file=/etc/vsftpd.banned_emails
- chroot_local_user=YES
- chroot_list_enable=YES
- chroot_list_file=/etc/vsftpd.chroot_list
- ls_recurse_enable
- secure_chroot_dir=/var/run/vsftpd/empty
- pam_service_name=vsftpd
- rsa_cert_file=/etc/ssl/private/vsftpd.pem
Advertisement
Add Comment
Please, Sign In to add comment