Advertisement
SteppingHat

Untitled

Jun 11th, 2015
560
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. # This is a basic ProFTPD configuration file (rename it to
  2. # 'proftpd.conf' for actual use. It establishes a single server
  3. # and a single anonymous login. It assumes that you have a user/group
  4. # "daemon" and "ftp" for normal operation and anon.
  5.  
  6. ServerName "Zelda"
  7. ServerType standalone
  8. DefaultServer on
  9. DisplayLogin
  10.  
  11. # Port 21 is the standard FTP port.
  12. Port 21
  13. # Umask 022 is a good standard umask to prevent new dirs and files
  14. # from being group and world writable.
  15. Umask 022
  16.  
  17. # To prevent DoS attacks, set the maximum number of child processes
  18. # to 30. If you need to allow more than 30 concurrent connections
  19. # at once, simply increase this value. Note that this ONLY works
  20. # in standalone mode, in inetd mode you should use an inetd server
  21. # that allows you to limit maximum number of processes per service
  22. # (such as xinetd)
  23. MaxInstances 30
  24.  
  25. # Set the user and group that the server normally runs at.
  26. User daemon
  27. #Group daemon
  28.  
  29. # Normally, we want files to be overwriteable.
  30. <Directory /opt/lampp/htdocs/*>
  31. AllowOverwrite on
  32. </Directory>
  33.  
  34. # only for the web servers content
  35. DefaultRoot /opt/lampp/htdocs
  36.  
  37. <Limit SITE_CHMOD>
  38. DenyAll
  39. </Limit>
  40.  
  41. # daemon gets the password "xampp"
  42. # commented out by xampp security
  43. #UserPassword ****** ***********
  44. UserPassword ****** ***********
  45.  
  46. # daemon is no normal user so we have to allow users with no real shell
  47. RequireValidShell off
  48.  
  49. # daemon may be in /etc/ftpusers so we also have to ignore this file
  50. UseFtpUsers off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement