Advertisement
Guest User

Untitled

a guest
Apr 27th, 2011
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 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. # "nobody" and "ftp" for normal operation and anon.
  5.  
  6. ServerName "ProFTPD Default Installation"
  7. ServerType standalone
  8. DefaultServer on
  9.  
  10. # Port 21 is the standard FTP port.
  11. Port 21
  12.  
  13. # Don't use IPv6 support by default.
  14. UseIPv6 off
  15.  
  16. # Umask 022 is a good standard umask to prevent new dirs and files
  17. # from being group and world writable.
  18. Umask 022
  19.  
  20. # To prevent DoS attacks, set the maximum number of child processes
  21. # to 30. If you need to allow more than 30 concurrent connections
  22. # at once, simply increase this value. Note that this ONLY works
  23. # in standalone mode, in inetd mode you should use an inetd server
  24. # that allows you to limit maximum number of processes per service
  25. # (such as xinetd).
  26. MaxInstances 10
  27.  
  28. # Set the user and group under which the server will run.
  29. User nobody
  30. Group nobody
  31.  
  32. # To cause every FTP user to be "jailed" (chrooted) into their home
  33. # directory, uncomment this line.
  34. DefaultRoot ~
  35.  
  36. #Não permite o login do usuário root
  37. RootLogin off
  38.  
  39. #Não requer que os usuários tenham um shell válido
  40. RequireValidShell off
  41.  
  42. #Não bloqueia usuários baseando-se no arquivo /etc/ftpusers
  43. UseFtpUsers off
  44.  
  45. # Normally, we want files to be overwriteable.
  46. AllowOverwrite on
  47.  
  48. #
  49. <Limit SITE_CHMOD>
  50. DenyAll
  51. </Limit>
  52.  
  53. # A Bar use of SITE CHMOD by default basic anonymous configuration, no upload directories. If you do not
  54. # want anonymous users, simply delete this entire <Anonymous> section.
  55. <Anonymous ~ftp>
  56. User ftp
  57. Group ftp
  58.  
  59. # We want clients to be able to login with "anonymous" as well as "ftp"
  60. UserAlias anonymous ftp
  61.  
  62. # Limit the maximum number of anonymous logins
  63. MaxClients 3
  64.  
  65. # We want 'welcome.msg' displayed at login, and '.message' displayed
  66. # in each newly chdired directory.
  67. DisplayLogin welcome.msg
  68. DisplayChdir .message
  69.  
  70.  
  71. </Anonymous>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement