LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pure-ftpd-mysql activates pure-ftpd (https://www.linuxquestions.org/questions/linux-software-2/pure-ftpd-mysql-activates-pure-ftpd-624718/)

zvikamer 02-29-2008 06:16 AM

pure-ftpd-mysql activates pure-ftpd
 
Hi,

I'm activating pure-ftpd-mysql issuing following command:
./pure-ftpd-mysql start. What actually executes is:

/usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam
-E -A -u 1000 -O clf:/var/log/pure-ftpd/transfer.log -B

Entering ps -ef | grep ftp shows:
pure-ftpd (SERVER)

I can login to ftp, the problem is that the server authenticates against my unix account instead of mysql.

Any help will be appreciated

-zvi

comprookie2000 02-29-2008 08:38 PM

What distro?
i don't know where your config file is but it needs something like;
Code:

AUTH="-l mysql:/etc/pureftpd-mysql.conf"

zvikamer 03-01-2008 12:11 PM

Quote:

Originally Posted by comprookie2000 (Post 3074454)
What distro?
i don't know where your config file is but it needs something like;
Code:

AUTH="-l mysql:/etc/pureftpd-mysql.conf"

The problem was with a -l option:
it needs to be sticky with -l:
-lmysql:/etc/pureftpd-mysql.conf

I'm using Debian etch.

Thanks
-zvi


All times are GMT -5. The time now is 04:07 AM.