LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-19-2022, 01:45 AM   #1
Uzzi
LQ Newbie
 
Registered: Nov 2015
Posts: 1

Rep: Reputation: Disabled
Pure-ftpd Mysql auth


Hi,I've configured pure-ftpd table-mysql to use pureftpd db and ftpd table.

Ehis is log:
Wrong SQL parameters : [SELECT Password FROM users WHERE User='xyx']

Why use FROM users above FROM ftpd?

/etc/pure-ftpd/db/mysql.conf:
MYSQLGetPW SELECT Password FROM ftpd WHERE User="L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "R")

Thank you

Debian 11
 
Old 12-19-2022, 08:16 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,661

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by Uzzi View Post
Hi,I've configured pure-ftpd table-mysql to use pureftpd db and ftpd table.
Ehis is log:
Code:
Wrong SQL parameters : [SELECT Password FROM users WHERE User='xyx']
Why use FROM users above FROM ftpd?
Code:
/etc/pure-ftpd/db/mysql.conf:
MYSQLGetPW SELECT Password FROM ftpd WHERE User="L" AND status="1" AND (ipaccess = "*" OR ipaccess LIKE "R")
Thank you Debian 11
You don't show us the relevant parts of your pure-ftpd configuration, so it's hard to know. Which tutorial did you follow on setting this up?
https://tecadmin.net/setup-pure-ftpd...centos-redhat/

While that tutorial is for RHEL/CentOS, the steps are valid (aside from those for installation using YUM, which you've ostensibly already performed). It looks as if you've not completed configuration of things.

As an aside, I'd strongly recommend *NEVER* using FTP...SFTP and SCP can perform essentially the same functions, but are much more secure.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pure-ftpwho doesn't work in pure-ftpd vahab Linux - Server 6 04-14-2012 02:25 PM
Pure-authd not passing variables to pure-ftpd welshdemon Linux - Software 1 02-11-2011 04:47 PM
pure-ftpd-mysql activates pure-ftpd zvikamer Linux - Software 2 03-01-2008 12:11 PM
Pure-ftpd-mysql + Sarge nestor10 Linux - Software 1 01-26-2005 08:06 AM
pure-ftpd and mysql dominant Linux - General 1 01-11-2005 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration