How to Setup FTP Server with VSFTPD on CentOS 7

本文介绍了当FTP响应缓慢时如何通过配置vsftpd解决,并提供了具体的步骤。同时,针对SSH登录失败的问题给出了详细的解决方案,包括检查/etc/shells文件权限等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

reference links:

How to Setup FTP Server with VSFTPD on CentOS 7

https://www.cnblogs.com/kreo/p/4368811.html

http://trulymanaged.com/blog/ssh-error-etcshells-is-either-world-writable-or-not-a-normal-file/

when ftp://xxx.xxx.xxx.xxx response is slow, please add "reverse_lookup_enable=NO" in vsftpd.config. And restart vsftpd service.

systemctl restart vsftpd
systemctl status vsftpd
# vim /etc/sysconfig/selinux

SELINUX=disabled

530 login failure:

SSH Error: /etc/shells is either world writable or not a normal file

solution:

When I checked the permissions of the file /etc/shells and it was set to 777 (universal writable).

root@server [~]# ll /etc/shells
-rwxrwxrwx  1 root root 32 Feb 23 23:54 /etc/shells*

So, I changed the permission of the file to 644 and able to login into SSH.

root@server [~]# chmod 644 /etc/shells
root@server [~]# ll /etc/shells
-rw-r--r--  1 root root 32 Feb 23 23:55 /etc/shells
root@server [~]#
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值