VSFTPD problem logging in

From: Schraalhans Keukenmeester (nomail_at_nohost.com)
Date: 07/22/05

  • Next message: Kazimír Doležal: "Re: howto install tar.gz to a particular directory"
    Date: Fri, 22 Jul 2005 15:15:08 +0200
    
    

    I have vsftpd 2.03 running on my SuSE9.2 box

    The problem is, I cannot log in either from the shell or another host on
    my network. I get the login prompt but every user I try to login as gets
    a "530 Login Incorrect" including users that are NOT listed as being
    unable to log in (such as news, root etc)

    /etc/vsftpd.conf (removed all comments)

    write_enable=YES
    dirmessage_enable=YES
    nopriv_user=ftpsecure
    ftpd_banner="FTP - anonymous access not allowed."
    hide_ids=YES
    local_enable=YES
    chroot_local_user=YES
    local_max_rate=10000
    anonymous_enable=NO
    anon_world_readable_only=YES
    syslog_enable=YES
    log_ftp_protocol=YES
    vsftpd_log_file=/var/log/vsftpd.log
    connect_from_port_20=YES
    idle_session_timeout=300
    data_connection_timeout=120
    pam_service_name=vsftpd
    listen=YES
    check_shell=NO

    /etc/pam.d:
    #%PAM-1.0

    # Uncomment this to achieve what used to be ftpd -A.
    # auth required pam_listfile.so item=user sense=allow
    file=/etc/ftpchr
    oot onerr=fail

    auth required pam_listfile.so item=user sense=deny
    file=/etc/ftpusers
    onerr=succeed
    # Uncomment the following line for anonymous ftp.
    #auth sufficient pam_ftp.so
    auth required pam_unix2.so
    auth required pam_shells.so
    account required pam_unix2.so
    password required pam_unix2.so
    session required pam_unix2.so

    What am I missing ? Do I need a file with specific usersettings ? Where,
    how ? I looked at several vsftpd related pages but my issue does not
    seem to be common. But thena gain I may just be overlooking the obvious.
    Funny thing is I have ran the service in the past on similar boxen
    without problems.

    Help much appreciated!
    Kind Regards
    Schraalhans.


  • Next message: Kazimír Doležal: "Re: howto install tar.gz to a particular directory"

    Relevant Pages

    • FTP server
      ... Still on CentOS v4.3, using Vsftpd ... I have my FTP server running ... What I with to do is that some specific users could login ... but any anonymous will still have an anonymous access JUST for downloads ...
      (linux.redhat)
    • Re: vsftpd
      ... Big Bill wrote: login to his brother!? ... think netfilter cares about login IDs? ... Yeah, income is nice, but I don't understand what it's got to do with vsftpd. ... the security of ssh/scp and vsftpd is a whole other topic. ...
      (comp.os.linux.networking)
    • Re: vsftpd chrooted setup
      ... The chroot lines are commented out. ... then after starting vsftpd, /sbin/service vsftpd status will give error ... # loosens things up a bit, to make the ftp daemon more usable. ... # Uncomment this to enable any form of FTP write command. ...
      (Fedora)
    • Re: vstfpd: Could not authenticate using local logins
      ... I am trying to configure vsftpd to setup a ftp server in a RHEL box. ... # Uncomment this to allow local users to log in. ... I am able to do a successful login with 'anonymous' ...
      (comp.os.linux.networking)
    • vstfpd: Could not authenticate using local logins
      ... I am trying to configure vsftpd to setup a ftp server in a RHEL box. ... # Uncomment this to allow local users to log in. ... I am able to do a successful login with 'anonymous' ...
      (comp.os.linux.networking)