Advertisement

01.14.2008 at 10:53AM PST, ID: 23081662
[x]
Attachment Details

Ubuntu Linux - Pure-Ftpd-mysql authentication problem

Asked by jfrent in Ubuntu, Linux Administration

Hi,

I'm trying to figure out why the following problem is happening.

I have a customer using Pure-FTPd w/Mysql authentication.  The authentication process doesn't seem to be working properly.  When I add a user to the MySQL table (db=pureftpd, table=ftpd) and I try to login using that username/password I get "Authentication Failed" from the Ftp server.  

However, if I add a user to the Linux box, I can log in to the FTP server using that username/password.   THat seems to present a load of security issues that I would prefer to avoid.

I'm pretty new to Linux but hear are some things I tried:
The installed package is "Pure-ftpd-mysql" from the package manager.
My SQL is up and running.  PhpMyAdmin is also running.
The etc/pure-ftpd/auth directory has files called (30mysql, 50pure, 65unix, 70pam) - I understood that the lower # is the first to be tried.

Is there a log somewhere to see how the authentication is going and if there is an error in it? I've checked the var/log directory but couldn't find anything useful in there.

Any help would be appreciated.Start Free Trial
[+][-]01.16.2008 at 08:10AM PST, ID: 20673071

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Ubuntu, Linux Administration
Sign Up Now!
Solution Provided By: mzalfres
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.12.2008 at 10:36AM PDT, ID: 21108589

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628