Chinaunix首页 | 论坛 | 博客
  • 博客访问: 921419
  • 博文数量: 276
  • 博客积分: 4182
  • 博客等级: 上校
  • 技术积分: 4486
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:14
文章分类

全部博文(276)

文章存档

2014年(9)

2013年(132)

2012年(135)

分类: LINUX

2012-11-13 13:33:44

安装完FC6,用service vsftpd start 启动vsftpd,发现匿名能够登录,而本地却不能登录,百思不得其解,查看vsftpd.conf,发现

local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
没问题啊。上网查,发现

  ftp(即匿名用户)可以登录,但本地用户不能登录。这个问题浪费了我一个多小时。后来,突然想到是不是selinux给闹的,一看 /etc/selinux/config,selinux配置为enforced,改为permissive,重新启动服务器,果然问题。
自己会不会也是这样的问题呢?

打开/etc/selinux/config

将selinux=enforcing或permissive改成disabled。

重启服务器,果然OK了。

阅读(580) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~