Help with Proftp...

Discussion in 'Server Operation' started by DaneD84, Apr 30, 2007.

  1. DaneD84

    DaneD84 New Member

    Iam fairly new to the linux operating system and iam trying to configure proftp. I can connect with a basic anonymous connection using ftp and ftp as user name password. I have an error when connecting using a unique username and password. here is a copy of my config file

    ServerName "ProFTPD Default Installation"
    ServerType standalone
    DefaultServer on

    # Port 21 is the standard FTP port.
    Port 21

    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 022

    # To prevent DoS attacks, set the maximum number of child processes
    # to 30. If you need to allow more than 30 concurrent connections
    # at once, simply increase this value. Note that this ONLY works
    # in standalone mode, in inetd mode you should use an inetd server
    # that allows you to limit maximum number of processes per service
    # (such as xinetd).
    MaxInstances 30

    # Set the user and group under which the server will run.
    User ruel
    Group nobody

    # To cause every FTP user to be "jailed" (chrooted) into their home
    # directory, uncomment this line.
    DefaultRoot /var/www/html

    # Normally, we want files to be overwriteable.
    <Directory />
    AllowOverwrite on

    # A basic anonymous configuration, no upload directories. If you do not
    # want anonymous users, simply delete this entire <Anonymous> section.
    <Anonymous ~ftp>
    User ftp
    Group ftp

    # We want clients to be able to login with "anonymous" as well as "ftp"
    UserAlias anonymous ftp

    # Limit the maximum number of anonymous logins
    MaxClients 10

    # We want 'welcome.msg' displayed at login, and '.message' displayed
    # in each newly chdired directory.
    DisplayLogin welcome.msg
    DisplayFirstChdir .message

    # Limit WRITE everywhere in the anonymous chroot
    <Limit WRITE>

    Username i wish to use is ruel and it uses nobody primary group.

    When i try connect to the ftp server with SmartFtp client using the username and correct password i get

    [11:53:46] Connected
    [11:53:56] 220 ProFTPD 1.3.0a Server (ProFTPD Default Installation) [::ffff:]
    [11:53:56] USER ruel
    [11:53:57] 331 Password required for ruel.
    [11:53:57] PASS (hidden)
    [11:53:57] 530 Login incorrect.

    My overall goal is to give users access to there files on a webserver. Is there another way i should go about this if there will be several users accessing several different files?
    I read about ISPConfig is this a good tool to use?
  2. falko

    falko Super Moderator ISPConfig Developer

    This is wrong. You shouldn't have changed the default user name here (this isn't the user you want to log in with - you must use the username ruel in your FTP client).
    Which distribution do you use?
  3. DaneD84

    DaneD84 New Member

    Thanks for your help, I did some more research and i now have it work properly.

Share This Page