vsftpd 虚拟用户 530 Login incorrect 错误
来源:互联网 发布:修改linux ip地址 编辑:程序博客网 时间:2024/05/23 01:42
我的电脑 CentOS7.064位系统
按照书中的配置方法
yum install db4-utilsdb_load -T -t hash -f /etc/vsftpd/vftpuser.txt /etc/vsftpd/vftpuser.db
vftpuser.txt内容:
user 奇行是用户名
123456偶行是密码
vi /etc/pam.d/vsftpd
将里面其他的都注释掉,添加下面这两行:
auth required /lib/security/pam_userdb.so db=/etc/vsftpd/vftpuser
account required /lib/security/pam_userdb.so db=/etc/vsftpd/vftpuser
vim /etc/vsftpd/vsftpd.conf
guest_enable=YES (开启虚拟用户)
guest_username=ftp (FTP虚拟用户对应的系统用户)
pam_service_name=virtualftpusers #PAM认证文件
#systemctl restart vsftpd
尝试登陆发现
user
123456
530 Login incorrect错误
查看日志
tail -f /var/log/secure
发现PAM unable to dlopen(/lib/security/pam_userdb.so): /lib/security/pam_userdb.so: cannot open shared object file: No such file or directory
原来pam_userdb.so在/lib64/security/pam_userdb.so
解决方法:
auth required /lib64/security/pam_userdb.so db=/etc/vsftpd/vftpuser
account required /lib64/security/pam_userdb.so db=/etc/vsftpd/vftpuser
#systemctl restart vsftpd //修改后重启vsftpd服务正常
这是因为64位系统的原因
- vsftpd 虚拟用户 530 Login incorrect 错误
- vsftpd 虚拟用户 530 Login incorrect 错误
- 关于vsftpd的530 Login incorrect错误
- Linux vsftp安装 - 解决vsftpd的530 Login incorrect错误
- 虚拟用户登录ftp提示530 Login incorrect.
- centos/redhat(Linux) vsftpd 530 login incorrect
- vsftpd的530 Login incorrect问题
- vsftpd 530 login incorrect on ubuntu
- ftp vsftpd 530 login incorrect 解决办法汇总
- vsftpd "530 Login incorrect"链接失败解决
- ftp vsftpd 530 login incorrect 解决办法汇总
- 今天用root用户登录vsftpd出现530 Login incorrect错误与530 Permission denied错误。 530 Permission denied 原因是/etc/vsft
- vsftpd虚拟用户登录:530错误
- vsftpd 安装(vsftpd 530 login incorrect 报错)
- Unbunt14.04的64位遇到的vsftpd的530 Login incorrect错误
- vsftpd login fail 530错误
- Ubuntu vsftp server配置&ubuntu vsftpd 530 Login incorrect
- 搭建nginx与安装vsftpd提示530 Login incorrect
- MySql 里的IFNULL、NULLIF和ISNULL用法
- 刷机说明
- 值传递与引用传递的差别
- Android AsyncTask详解,你真的了解AsyncTask?
- android源码中打包so到apk的方法
- vsftpd 虚拟用户 530 Login incorrect 错误
- 网站压力测试工具Webbench部分源码分析
- 最大公约数与最小公倍数(c语言)
- 滚动字幕(水平,垂直)
- 建造者模式(Builder Pattern)
- h5中 <!DOCTYPE html>标签问题,div里面如果装有一个img下边会有2px间隙
- MFC启动过程&单文档MFC程序的启动详细过程
- Android HandlerThread 完全解析
- 矩阵形象理解最小二乘解