当前位置:网站首页>ftp登录时,报错“530 Login incorrect.Login failed”
ftp登录时,报错“530 Login incorrect.Login failed”
2022-07-03 10:58:00 【ZHY_ERIC】
一、问题
由于项目需求:需要在搭建一个ftp。在设置完文件夹,创建新用户并赋予相应权限以后。 我登录ftp站点时爆出如下错误信息。

我的运行环境:centos8.2 64bit
二、解决思路
搜集网上资料整理了四种方法。请根据自己的问题来选择不同的解决方案
(1)要登录的主机没有创建账户以及其相应权限。(下附原博主链接)
CentOS7 查看所有的用户和组信息_顾米楠的博客-CSDN博客_centos 列出所有用户
cat /etc/passwd如果发现没有自己创建的那个账户,就再新创建一个。
(2)输入正确的密码以后,依然报错。可以修改用户的密码;
命令: passwd username
再次尝试登录。若依然报错,再看(3)
(3)注释掉pam_shells.so(下附原博主链接)
ftp允许本地用户登录,结果登陆的时候一直报这个错,网上找了很多资料,最后终于解决了:
备份:
cp /etc/pam.d/vsftpd /etc/pam.d/vsftpd.bak修改:
vim /etc/pam.d/vsftpd注释掉以下这一行:
#auth required pam_shells.so然后再次登陆,就可以了。
(4) 查看cat /etc/shells是否有你用户
ftp登陆报错530 Login incorrect. Login failed._hahahaxiaoyu的博客-CSDN博客_530login incorrect530 Login incorrect.Login failed.1.兄弟如果这个帖子,解决了你的问题,请给我说一声谢谢,因为,我找了两天才解决到,真的心累了。2.ftp登陆时报错,530 Login incorrect.Login failed.3.请先看看百度前三种问题是否能解决,我这是第四种,因为我没有在百度上找到我着一种。4.cat /etc/passwd,查看你登陆的账户主目录...https://blog.csdn.net/hahahaxiaoyu/article/details/100582853?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-100582853-blog-83216884.pc_relevant_antiscanv3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-100582853-blog-83216884.pc_relevant_antiscanv3&utm_relevant_index=2 查看你登陆的账户主目录和登陆shell对应的是什么,我的是/sbin/nologin用户名:口令:用户标识号:组标识号:注释性描述:主目录:登录Shell
cat /etc/passwd,
查看cat /etc/shells是否有你用户的主目录和登陆shell,没有进行添加,保存,退出。
cat /etc/shells边栏推荐
- . \vmware-vdiskmanager. exe -k “c:\\xxxxx.vmdk”
- Yintai department store ignites the city's "night economy"
- uniapp实现点击加载更多
- P3250 [HNOI2016] 网络 + [NECPC2022] F.Tree Path 树剖+线段树维护堆
- After using the thread pool for so long, do you really know how to reasonably configure the number of threads?
- The world's most popular font editor FontCreator tool
- Oracle 11g single machine cold standby database
- POI excel cell wrap
- R language ggplot2 visualization: gganimate package creates dynamic line graph animation (GIF) and uses transition_ The reveal function displays data step by step along a given dimension in the animat
- Understand go language context in one article
猜你喜欢

Modular programming of single chip microcomputer

进程与线程

Machine learning 3.2 decision tree model learning notes (to be supplemented)

PHP server interacts with redis with a large number of close_ Wait analysis

GCC compilation process and dynamic link library and static link library

Matlab extracts numerical data from irregular txt files (simple and practical)

Incremental database backup - DB incr DB full

Xml的(DTD,xml解析,xml建模)

How to get started embedded future development direction of embedded

Excel快速跨表复制粘贴
随机推荐
银泰百货点燃城市“夜经济”
Oracle withdraw permission & create role
VPP三层网络互联配置
The manuscript will be revised for release tonight. But, still stuck here, maybe what you need is a paragraph.
按键切换:按F1-F12都需要按Fn
Execute kubectl on Tencent cloud container service node
CSRF
The excel table is transferred to word, and the table does not exceed the edge paper range
2022-07-02: what is the output of the following go language code? A: Compilation error; B:Panic; C:NaN。 package main import “fmt“ func mai
DS90UB949
(2) Base
Uniapp implementation Click to load more
R语言使用gridExtra包的grid.arrange函数将ggplot2包的多个可视化图像横向组合起来,ncol参数自定义组合图列数、nrow参数自定义组合图行数
How to mix embedded MCU, arm and DSP?
The uniapp scroll view solves the problems of high adaptability and bullet frame rolling penetration.
836. 合并集合(DAY 63)并查集
How to make others fear you
Spl06-007 air pressure sensor (example of barometer)
Redis things
软考中级软件设计师该怎么备考