vsftpd 虚拟用户 530 Login incorrect 错误
来源:互联网 发布:淘宝真皮皮鞋店铺 编辑:程序博客网 时间:2024/05/21 23:58
我的电脑 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
- 控制屏幕方向的screenOrientation
- Android对应用的内存分配
- [乐意黎原创] 合同约定的到期某日之前履行是否包括该期日当天履行?
- Path Sum
- 报表工具FineReport排序专题
- vsftpd 虚拟用户 530 Login incorrect 错误
- BPEL开发实例
- 数据库索引的优缺点
- js处理JSON字符串
- 查看并分析垃圾回收日志文件小工具 chewiebug_GCViewer
- js hammer移动端web手势放大图片
- subset selection
- 去雾算法学习——Fast Visibility Restoration from a Single Color or Gray Level Image笔记
- java 单例模式