Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1959501
  • 博文数量: 176
  • 博客积分: 1857
  • 博客等级: 上尉
  • 技术积分: 2729
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-14 22:55
个人简介

吾生有涯,而知无涯,适当止学.循序渐进,步步提升 Talk is cheap, show me the code.

文章分类

全部博文(176)

文章存档

2019年(1)

2018年(14)

2017年(20)

2016年(31)

2015年(15)

2014年(5)

2013年(10)

2012年(80)

分类: LINUX

2012-10-18 10:04:08

场景:碰到的情况,自己搭建一个,想用LeapFTP连接到服务器的ip,但是碰到了两个错误
1,权限不足
220 (vsFTPd 2.0.5)
USER root
530 Permission denied.
QUIT
2,密码无法识别,其实是root用户不让进入
USER root
331 Please specify the password.
PASS xxxxxx
530 Login incorrect.
 
vsftpd是一个安全很高的ftp软件包
 
里面的有两个配置文件
ftpusers和user_list
[root@www vsftpd]# cat ftpusers;
# Users that are not allowed to login via ftp(这里呈现哪些用户不能进入ftp)
#root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
[root@www vsftpd]#
[root@www vsftpd]# cat user_list(这里是user进入的权限文件)
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
[root@www vsftpd]#
 
只要用#注释掉用户root,就可以让root成功连接ftp
阅读(1797) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

zhangshengdong2013-06-18 10:38:57

/etc/vsftpd/user_list

/etc/vsftpd/ftpusers