VSFTPD 530:cannot login

Discussion in 'HOWTO-Related Questions' started by puredevotion, Jun 23, 2008.

  1. puredevotion

    puredevotion New Member

    Hello,

    I just followed your howto, and am now stuck on the last phase: loggin in.
    I had some errors in my config, but I cleared these out, but when I now try to log in, it says:

    The test account was made during the tutorial.
    I than made a new account (thijs), gave it a real password, using the phpmyadmin interface, but gave the same error.

    There a re no spelling errors, and there is no firewall or whatsoever.

    I guess it's an error in de connection between the MySQL database, and VSFTPD, but that's just a guess into the wild.
    for that reason, I've included a copy of my pam.d/vsftpd file.

    Hope you can help me,

    Best regards,

    Thijs

    Code:
    # Standard behaviour for ftpd(8).
    auth    required        pam_mysql.so user=vsftpd passwd=password host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2
    
    # Standard behaviour for ftpd(8).
    account required pam_mysql.so user=vsftpd passwd=password host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2
    
    # Note: vsftpd handles anonymous logins on its own.  Do not enable
    # pam_ftp.so.
    
    # Standard blurb.
    @include common-account
    @include common-session
    
    @include common-auth
    auth    required        pam_shells.so
    
    # Note: vsftpd handles anonymous logins on its own.  Do not enable
    # pam_ftp.so.
    
    
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in you logs?

    You could enable MySQL logging in /etc/mysql/my.cnf and then check the MySQL queries that vsftpd makes.
     

Share This Page