Pure-FTPd problem

Discussion in 'Installation/Configuration' started by io2k7, Feb 24, 2008.

  1. io2k7

    io2k7 New Member

    [root@home]# ftp work
    Connected to work.
    220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    220-You are user number 1 of 50 allowed.
    220-Local time is now 12:26. Server port: 21.
    220-IPv6 connections are also welcome on this server.
    220 You will be disconnected after 15 minutes of inactivity.
    500 This security scheme is not implemented
    500 This security scheme is not implemented
    KERBEROS_V4 rejected as an authentication type
    Name (work:root): username
    331 User username OK. Password required
    Password:
    530 Login authentication failed
    Login failed.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp>


    I have installed Pure-FTPd like this
    Code:
    yum install pure-ftpd
    /usr/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf
    service pure-ftpd start
    
    //i'm using the default pure-ftpd.conf

    I've made the ftp usergroup
    Code:
    groupadd ftpgroup
    useradd -g ftpgroup -d /dev/null -s /etc ftpuser
    
    And I've added:
    Code:
    pure-pw useradd  [I]username[/I] -u ftpuser -d /[I]some.path[/I]/
    pure-pw mkdb
    
    What should I do to make it work?

    OS: Fedora Core 7
     
    Last edited: Feb 24, 2008
  2. io2k7

    io2k7 New Member

    pure-ftpd

    pure-ftpd.conf:

    Code:
    ChrootEveryone              yes
    BrokenClientsCompatibility  no
    MaxClientsNumber            50
    Daemonize                   yes
    MaxClientsPerIP             8
    VerboseLog                  no
    DisplayDotFiles             yes
    AnonymousOnly               no
    NoAnonymous                 no
    SyslogFacility              ftp
    DontResolve                 yes
    MaxIdleTime                 15
    PAMAuthentication             yes
    LimitRecursion              7500 8
    AnonymousCanCreateDirs      no
    MaxLoad                     4
    AntiWarez                   yes
    Umask                       133:022
    MinUID                      500
    UseFtpUsers no
    AllowUserFXP                no
    AllowAnonymousFXP           no
    ProhibitDotFilesWrite       no
    ProhibitDotFilesRead        no
    AutoRename                  no
    AnonymousCantUpload         yes
    AltLog                     clf:/var/log/pureftpd.log
    MaxDiskUsage               99
    CustomerProof              yes
    
    pam.d/pure-ftpd
    Code:
    #%PAM-1.0
    
    # Sample PAM configuration file for Pure-FTPd.
    # Install it in /etc/pam.d/pure-ftpd or add to /etc/pam.conf
    
    auth       required     pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
    auth       include      system-auth
    auth       required     pam_shells.so
    auth       required     pam_nologin.so
    
    account    include      system-auth
    
    password   include      system-auth
    
    session    include      system-auth
    
    pam.d/pure-ftpdwho
    Code:
    #%PAM-1.0
    auth       sufficient   pam_rootok.so
    auth       required     pam_localuser.so
    account    required     pam_permit.so
    
     
  3. topdog

    topdog Active Member

    Looking at the error in the logs is the way to begin debugging.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your logs?
     

Share This Page