0
点赞
收藏
分享

微信扫一扫

LINUX 由于改动ftp配置导致ftp启动成功但是登陆不上问题

现象:

LINUX 由于改动ftp配置导致ftp启动成功但是登陆不上问题_ftp启动登陆不上

LINUX 由于改动ftp配置导致ftp启动成功但是登陆不上问题_根目录_02


ftp服务启动却登陆不上,报 530 Login incorrect.

解决思路:

  1. 查看ftp根目录的属主
  2. 查看vsftpd目录的属主
  3. 查看 /etc/pam.d/vsftpd 文件

最后:

我的情况是,当时想要用普通用户启动ftp,改动有点乱,改动了,vsftpd目录下的文件属主所以导致root启动后依旧登陆不上的问题,

具体报错:

Jul 25 10:54:05 node196 vsftpd[11896]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file
Jul 25 10:54:05 node196 vsftpd[11889]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file
Jul 25 10:54:05 node196 vsftpd[11899]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file
Jul 25 10:54:05 node196 vsftpd[11901]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file
Jul 25 10:54:05 node196 vsftpd[11904]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file
Jul 25 10:54:05 node196 vsftpd[11905]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file
Jul 25 10:54:05 node196 vsftpd[11908]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file
Jul 25 10:54:07 node196 vsftpd[11912]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file
Jul 25 10:54:07 node196 vsftpd[11913]: pam_listfile(vsftpd:auth): /etc/vsftpd/ftpusers is either world writable or not a normal file

具体解决方式:

chmod 664 /etc/vsftpd/ftpusers,然后重启 vsftpd 。

举报

相关推荐

0 条评论