Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Midwest, USA

    proftpd setup on new debian install

    I just installed ProFTPd on Debian Lenny 5.0.1, and when trying to connect to it using Filezilla from windows, it goes 90% through the login process, and then says login incorrect...its not sending anything to the log files...

    Here is my config:

    # Includes required DSO modules. This is mandatory in proftpd 1.3
    Include /etc/proftpd/modules.conf

    ServerType inetd
    DefaultServer on
    Umask 022
    ServerName "ppmftp"
    ServerIdent on "FTP/SSH Server"
    ServerAdmin adminemail
    IdentLookups off
    UseReverseDNS off
    Port 21
    PassivePorts 49152 65534
    #MasqueradeAddress None
    TimesGMT off
    MaxInstances 9000
    MaxLoginAttempts 3
    TimeoutLogin 300
    TimeoutNoTransfer 120
    TimeoutIdle 120
    DisplayLogin welcome.msg
    DisplayChdir .message
    User nobody
    Group nobody
    DirFakeUser off nobody
    DirFakeGroup off nobody
    DefaultTransferMode binary
    AllowForeignAddress off
    AllowRetrieveRestart on
    AllowStoreRestart on
    DeleteAbortedStores on
    TransferRate RETR 2048
    TransferRate STOR 2048
    TransferRate STOU 2048
    TransferRate APPE 2048
    SystemLog /var/log/secure
    RequireValidShell on
    DefaultRoot ~

    <IfModule mod_tls.c>
    TLSEngine off
    TLSRequired off
    TLSVerifyClient off
    TLSProtocol SSLv23 , TLSv1
    TLSLog /var/log/proftpd_tls.log
    TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
    TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
    TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
    TLSRenegotiate required off

    <IfModule mod_ratio.c>
    Ratios off
    SaveRatios off
    RatioFile "/restricted/proftpd_ratios"
    RatioTempFile "/restricted/proftpd_ratios_temp"
    CwdRatioMsg "Please upload first!"
    FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
    ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
    LeechRatioMsg "Your ratio is unlimited."

    <Limit LOGIN>

  2. #2
    You need to create at least a <global> section. Where you define the parameters. You must set up a directory where the ftp stores files, must create a user who can log in to the server and you need to set up this.
    <limit> directive only usable in <global> and <anonymous> sections.

    But you can find many tutorial on the net or you can install the proftpd-doc package , in the second case you will find it in /usr/share/doc/proftpd.

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Midwest, USA
    This is going to be setup for a multi-user setup. Almost all users will be setup as chroot/jailed. Documentation is good...but need not always helpful.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts