PURE-FTPD authentication error and FTP logon 530 authentication failed

Source: Internet
Author: User
Tags ftp client

PURE-FTPD Authentication Error

PURE-FTPD implementation of user uploaded files belong to Apache users and groups.

Check the UID and GID of the current Apache user first

The code is as follows Copy Code
ID Apache
uid=48 (Apache) gid=48 (Apache) group =48 (Apache)

Then change the MySQL table, the result is as follows:

The code is as follows Copy Code
Mysql> select * from users;
+-----------+----------------------------------+-------+-----+----------------+------------+-----------+------- ------+-------------+-----------+------------------------+--------+---------+---------+
| User | Password | Uid | Gid | Dir | Quotafiles | Quotasize | Ulbandwidth | Dlbandwidth | IPAddress | Comment | Status | Ulratio | Dlratio |
+-----------+----------------------------------+-------+-----+----------------+------------+-----------+------- ------+-------------+-----------+------------------------+--------+---------+---------+
| ftpuser_1 | d3933b977d1cf7566346d55b54f87121 |  65534 | 31 |        /usr |        100 |          50 |          75 | 75 | *         | FTP User (for example) |       1 |       0 | 0 |
| Cai | B842f1db09ef1bfda2ae1c1f70ec57c8 |  48 | 48 |        /home/cai |       100 |          100 |           80 | 5 |                        *         | |       1 |       0 | 0 |
| Cai1 |    B842f1db09ef1bfda2ae1c1f70ec57c8 |  48 | 48 |        /home/cai1 |       100 |          100 |           80 | 5 |                        *         | |       1 |       0 | 0 |
+-----------+----------------------------------+-------+-----+----------------+------------+-----------+------- ------+-------------+-----------+------------------------+--------+---------+---------+
5 rows in Set (0.00 sec)
[PHP]


Use an FTP client to consistently report authentication errors. View the log as follows:

The code is as follows Copy Code
[PHP]
Aug 12:53:51 localhost pure-ftpd: (? @58.214.233.214) [INFO] New connection from 58.214.233.214
Aug 12:54:06 localhost pure-ftpd: (? @58.214.233.214) [WARNING] authentication failed for user [Cai]
Aug 12:56:27 localhost pure-ftpd: (? @58.214.233.214) [INFO] New connection from 58.214.233.214
Aug 12:56:37 localhost pure-ftpd: (? @58.214.233.214) [WARNING] authentication failed for user [Cai]
Aug 12:56:43 localhost pure-ftpd: (? @58.214.233.214) [INFO] Logout.

Verify that the username and password are correct.
Check the configuration file to find out where the problem is ... The configuration items are as follows:

The code is as follows Copy Code

# Minimum UID for a authenticated user to log in.

Minuid 40

ID number greater than 40. No login Allowed

FTP Logon 530 authentication failed

1: Must be through the upper right corner of the "by this new account" to add an account

2: Set as shown in the above image ·

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.