Advertisement
Guest User

Untitled

a guest
Jan 9th, 2008
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.97 KB | None | 0 0
  1. #
  2. # For more informations about Proftpd configuration
  3. # look at : http://www.proftpd.org/
  4. #
  5. # This is a basic ProFTPD configuration file (rename it to
  6. # 'proftpd.conf' for actual use. It establishes a single server
  7. # and a single anonymous login. It assumes that you have a user/group
  8. # "nobody" and "ftp" for normal operation and anon.
  9.  
  10. ServerName "FTP Server"
  11. ServerType standalone
  12. DefaultServer on
  13. ScoreboardFile /var/run/proftpd.scoreboard
  14.  
  15. #logs
  16. SyslogLevel notice
  17. UseReverseDNS off
  18. TransferLog /var/log/proftpd-tranfer.log
  19. SystemLog /var/log/proftpd-error.log
  20. #ExtendedLog /var/log/proftpd-extended.log read,write
  21.  
  22. # Port 21 is the standard FTP port.
  23. Port 21
  24.  
  25. # Umask 022 is a good standard umask to prevent new dirs and files
  26. # from being group and world writable.
  27. Umask 022
  28.  
  29. # To prevent DoS attacks, set the maximum number of child processes
  30. # to 30. If you need to allow more than 30 concurrent connections
  31. # at once, simply increase this value. Note that this ONLY works
  32. # in standalone mode, in inetd mode you should use an inetd server
  33. # that allows you to limit maximum number of processes per service
  34. # (such as xinetd).
  35. MaxInstances 30
  36.  
  37. CommandBufferSize 512
  38.  
  39. # Set the user and group under which the server will run.
  40. User nobody
  41. Group nogroup
  42.  
  43. # To cause every FTP user to be "jailed" (chrooted) into their home
  44. # directory, uncomment this line.
  45. DefaultRoot /var/www wheel
  46. DefaultRoot /var/www/vostokexpress.com vostokexpress
  47.  
  48. # Normally, we want files to be overwriteable.
  49. AllowOverwrite on
  50.  
  51. # Bar use of SITE CHMOD by default
  52. <Limit SITE_CHMOD>
  53. DenyAll
  54. </Limit>
  55.  
  56. # A basic anonymous configuration, no upload directories. If you do not
  57. # want anonymous users, simply delete this entire <Anonymous> section.
  58.  
  59. #########################################################################
  60. # #
  61. # Uncomment lines with only one # to allow basic anonymous access #
  62. # #
  63. #########################################################################
  64.  
  65. #<Anonymous ~ftp>
  66. # User ftp
  67. # Group ftp
  68.  
  69. ### We want clients to be able to login with "anonymous" as well as "ftp"
  70. # UserAlias anonymous ftp
  71.  
  72. ### Limit the maximum number of anonymous logins
  73. # MaxClients 10
  74.  
  75. ### We want 'welcome.msg' displayed at login, and '.message' displayed
  76. ### in each newly chdired directory.
  77. # DisplayLogin welcome.msg
  78. # DisplayFirstChdir .message
  79.  
  80. ### Limit WRITE everywhere in the anonymous chroot
  81. # <Limit WRITE>
  82. # DenyAll
  83. # </Limit>
  84. #</Anonymous>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement