SHARE
TWEET

vsftpd - lightweight ftp server minimal configuration

Mayur_Pipaliya Jul 8th, 2013 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #### vsftpd ####
  2.  
  3. $ cd /etc/vsftpd/; ls;
  4. ftpusers  issue  user_list  vsftpd.conf  vsftpd_conf_migrate.sh
  5.  
  6.  
  7. --- NOTE ---
  8. File named `ftpusers` & `user_list` must NOT contain `root` if one wants to __ENABLE__ root login via __FTP__
  9. --- NOTE ---
  10.  
  11.  
  12. $ echo IG FTP Server > /etc/vsftpd/issue
  13. $ cat /etc/vsftpd/vsftpd.conf | grep -v "#"
  14. $ nano /etc/vsftpd/vsftpd.conf
  15.  
  16. listen_port=21
  17. local_root=/var/www/html
  18.  
  19. anonymous_enable=YES
  20. local_enable=YES
  21. write_enable=YES
  22. local_umask=022
  23. dirmessage_enable=YES
  24. xferlog_enable=YES
  25. connect_from_port_20=YES
  26. xferlog_std_format=NO
  27. listen=YES
  28.  
  29. pam_service_name=vsftpd
  30. userlist_enable=YES
  31. tcp_wrappers=YES
  32.  
  33. banner_file=/etc/vsftpd/issue
  34. pasv_enable=YES
  35. pasv_max_port=12100
  36. pasv_min_port=12000
  37. pasv_address=0.0.0.0
RAW Paste Data
Top