NoPaste

fehlerhafte proftpd.conf -> 530 Bad Password

von makko

SNIPPET_TEXT:
  1. #
  2. # /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
  3. # To really apply changes reload proftpd after modifications.
  4. #
  5.  
  6. ServerName                      "debiansrv"
  7. ServerType                      standalone
  8. DeferWelcome                    off
  9.  
  10. MultilineRFC2228                on
  11. DefaultServer                   on
  12. ShowSymlinks                    on
  13.  
  14. TimeoutNoTransfer               600
  15. TimeoutStalled                  600
  16. TimeoutIdle                     1200
  17.  
  18. DisplayLogin                    welcome.msg
  19. DisplayFirstChdir               .message
  20. ListOptions                     "-l"
  21.  
  22. DenyFilter                      \*.*/
  23.  
  24. # Uncomment this if you are using NIS or LDAP to retrieve passwords:
  25. #PersistentPasswd               off
  26.  
  27. # Uncomment this if you would use TLS module:
  28. #TLSEngine                      on
  29.  
  30. # Uncomment this if you would use quota module:
  31. #Quotas                         on
  32.  
  33. # Uncomment this if you would use ratio module:
  34. #Ratios                         on
  35.  
  36. # Port 21 is the standard FTP port.
  37. Port                            2121
  38.  
  39. # To prevent DoS attacks, set the maximum number of child processes
  40. # to 30.  If you need to allow more than 30 concurrent connections
  41. # at once, simply increase this value.  Note that this ONLY works
  42. # in standalone mode, in inetd mode you should use an inetd server
  43. # that allows you to limit maximum number of processes per service
  44. # (such as xinetd)
  45. MaxInstances                    30
  46.  
  47. # Set the user and group that the server normally runs at.
  48. User                            nobody
  49. Group                           nogroup
  50.  
  51. # Umask 022 is a good standard umask to prevent new files and dirs
  52. # (second parm) from being group and world writable.
  53. Umask                           022  022
  54. # Normally, we want files to be overwriteable.
  55. AllowOverwrite                  on
  56.  
  57. # Delay engine reduces impact of the so-called Timing Attack described in
  58. # http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
  59. # It is on by default.
  60. #DelayEngine                    off
  61.  
  62. DefaultRoot                     ~
  63.  
  64. <Limit LOGIN>
  65.   DenyGroup !users
  66. </LIMIT>
  67.  
  68. <Global>
  69.   RootLogin             off
  70.   RequireValidShell     on
  71. </Global>
  72.  
  73. LogFormat default "%h %l %u %t \"%r\" %s %b"
  74. LogFormat auth "%v [%P] %h %t \"%r\" %s"
  75. LogFormat write "%h %l %u %t \"%r\" %s %b"
  76.  
  77. ExtendedLog /var/log/ftp_auth.log AUTH auth
  78. ExtendedLog /var/log/ftp_access.log WRITE,READ write

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN