开源中文网

您的位置: 首页 > PureFTPd > 正文

pure-ftpd认证错误与FTP登录530验证失败

来源: 网络整理  作者: 佚名

本文章来给大家介绍一下关于pure-ftpd认证错误与FTP登录530验证失败两个问题的解决办法吧,希望些方法对大家会有所帮助呀。
pure-ftpd认证错误
pure-ftpd 实现用户上传的文件属于apache用户和组.
先查一下当前apache 用户的 uid 和gid


id apache
uid=48(apache) gid=48(apache) 组=48(apache)
接着更改mysql表,结果如下:

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]
 
使用FTP 客户端一直报认证错.查看日志如下:

[php]
Aug 22 12:53:51 localhost pure-ftpd: (?@58.214.233.214) [INFO] New connection from 58.214.233.214
Aug 22 12:54:06 localhost pure-ftpd: (?@58.214.233.214) [WARNING] Authentication failed for user [cai]
Aug 22 12:56:27 localhost pure-ftpd: (?@58.214.233.214) [INFO] New connection from 58.214.233.214
Aug 22 12:56:37 localhost pure-ftpd: (?@58.214.233.214) [WARNING] Authentication failed for user [cai]
Aug 22 12:56:43 localhost pure-ftpd: (?@58.214.233.214) [INFO] Logout.
确认用户名和密码无误..
检查配置文件发现问题所在…配置项如下:

# Minimum UID for an authenticated user to log in.
 
MinUID                      40
id 号大于40的.禁止login
FTP登录530验证失败

1:一定是通过 右上角的  “按此新增账号”  来添加账号
2:设置如上图所示·

Tags:错误
相关文章列表:
关于开源中文网 - 联系我们 - 广告服务 - 网站地图 - 版权声明