defect122

VSFTPD config file

Aug 31st, 2012
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. My sample VSFTPD config for ubuntu-Server.
  2.  
  3. Its a good idea to backup you main config file of VSFTPD by typing:
  4.  
  5. cp /etc/vsftpd.conf /etc/vsftpd.conf.bak
  6.  
  7.  
  8.  
  9. #Config file for vsftpd (FTP Server)
  10. #Config without SSL
  11.  
  12. listen=YES
  13. listen_ipv6=NO
  14. local_enable=YES
  15. write_enable=YES
  16. file_open_mode=0777
  17. local_umask=002
  18. anonymous_enable=NO
  19. anon_upload_enable=NO
  20. anon_mkdir_write_enable=NO
  21. use_localtime=YES
  22. xferlog_enable=YES
  23. xferlog_file=/var/log/vsftpd.log
  24. xferlog_std_format=YES
  25. connect_from_port_20=NO
  26. chown_uploads=NO
  27. chown_username=whoever
  28. idle_session_timeout=120
  29. data_connection_timeout=120
  30. connect_timeout=30
  31. max_clients=5
  32. max_login_fails=2
  33. nopriv_user=ftpsecure
  34. async_abor_enable=NO
  35. ascii_upload_enable=YES
  36. ascii_download_enable=YES
  37. delete_failed_uploads=YES
  38. dirmessage_enable=NO
  39. ftpd_banner=FTP Server login
  40. deny_email_enable=NO
  41. banned_email_file=/etc/vsftpd.banned_emails
  42. chroot_local_user=YES
  43. chroot_list_enable=YES
  44. chroot_list_file=/etc/vsftpd.chroot_list
  45. ls_recurse_enable
  46. secure_chroot_dir=/var/run/vsftpd/empty
  47. pam_service_name=vsftpd
  48. rsa_cert_file=/etc/ssl/private/vsftpd.pem
Advertisement
Add Comment
Please, Sign In to add comment