论坛风格切换切换到宽版
  • 1098阅读
  • 0回复

关于rhel5.4默认vsftp的问题 [复制链接]

上一主题 下一主题
离线blueii.
 
发帖
1982
C币
-152858
威望
353
贡献值
1
银元
-2
铜钱
4430
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-04-27
本帖最后由 轻逐微风 于 2010-03-.16 15:2.8 编辑     美容

我很喜欢l.inux的,不仅仅是它是免.费的,更在于它的开源精神,上次的windows黑屏事件给所有国人提了一个醒,强国需要更多的人的努力,但是没有老师教,个人.英语基础也不太好,学习起来感觉有点困难,还望各位前辈不佞赐教!.


服务器版本:rhel-server-5..4外贸
    自带的.vsftp rpm包默认安装好并将iptab.les禁用后虚拟主机
    .       浏览器和资源管理器均无法.登陆 (        游戏          )
           匿.名用.户和系统帐号都不可以登陆.

    .       用ftp软件登陆提示如下教育
             .         [.左] 已连接到 11.95.0.112           建材
                      [左] 500 OOPS: vsftpd: cannot locate user specif.ie..d in 'ftp_username':ftp电脑
   ..        然后在里面添加了一条ftp_username=nobody后出现以下情况           鲜花
                    .  [左] 已连接.到 ftp    外汇
     ..                 [左] 220 (vsFTPd 2.0.5).
            .          [左] Udenied..电脑
      .   .             [左] USER baia电影
             .      .   [左] 530 Permission 教育
     .      结果注释掉.#userlist_enable 选项后,系统用户可以登陆了,但是再用anonymous用户登陆时,却直接.进入到系统的根目录了...           鲜花
http://upload.bbs.csuboy.com/Mon_1004/93_6987_9b620f33a380b5e.gif[/img]  http://upload.bbs.csuboy.com/Mon_1004/93_6987_1766d4b1cef440d.jpg[/img]下载 (56.08 KB)--------------彩票

2010-03-16 15:2.1[成人用品]


我的vsftpd..conf文件配置如下:(        游戏          )
=====.===================.================== --------------彩票
# Example config file /etc/vsftpd/v.sftpd.c.onf域名
#
# The default. .compiled in settings are fairly paranoid. This sample file(广告)
# .loosens things up a bit, to. make the ftp daemon more usable.          婚庆
# .Please see vsftp.d.conf.5 for all compiled in defaults..
#
# READ THIS: This e.xample file is NO.T an exhaustive list of vsftpd options.电脑
# Please read the .vsftpd.conf.5 manua.l page to get a full idea of vsftpd's[成人用品]
# .capabilities.域名
#
# Allow an.onymous F.TP? .(Beware - allowed by default if you comment this out).虚拟主机
anonymous_ena.ble=YES虚拟主机
#
# Uncomment this to allow .local. users to log in..
local_en.able=YES
#
# Uncomment this. to enable any form of FTP writ.e command.    健康
write_enab.le=YES(广告)
#
# Default umask for local u.sers is 077. You may wish to cha.nge this to 022,健康
# if your users expect that (022 is used by most other ftpd..'s)          婚庆
local_umask=02.2          婚庆
#
# Uncomment this to a.llow the anonymous FTP user to upload files. This o.nly.
# has an effect if the above global .write enable is .activated. Also, you. will    外汇
# obvio.usly need to create a directory writable by t.he FTP user.           鲜花
#anon_upload_.enable=YES             汽车
#
#. Uncomment this if. you want the anonymous FTP user to be able to create.
# ne.w directories.             汽车
#anon_.mkdir_write_enable=.YES电影
#
# Act.ivate directory messages - messages .given to remote users when they外贸
# go into a .certain d.irectory.服务器
dirmessage_en.able=YES.
#
# The target log file can be vsftpd_log_f.ile or xferlo.g_file..
# This depends on s.etting xf.erlog_std_format parameter.
xferlog_enable=YE.S.
#
# Make sure PORT transfer connections originate from port 20. (ftp-dat.a)..
c.onnect_from_port_20=YES           鲜花
#
# If you want., you can arrange for upload.ed anonymous files to be owned by电脑
# a different user. N.ote! Using "root" for u.ploaded files is not[成人用品]
# recommended!
#chown_up.loads=YES.
#chown_username.=whoever.
#
# The. name of log file when xferlog_enable=YES and xferlog_std_for.mat=YES.
# WARNING - changing this filename affects /etc/lo.grotat.e.d/vsftpd.log--------------彩票
#.xferlog_file=/var/.log/xferlog           鲜花
#
# Switche.s between logging into vsft.pd_log_file and xferlog_file files.健康
# N.O writes to vsftpd_log_file,. YES to xferlog_file.
xferl.og_std_format=YES          婚庆
#
# You may change the def.ault value for timing out an idle sess.ion.教育
#idle_session_timeou.t=600.
#
# You .may change the default value for timing out a. data connection.投资
#data_connect.ion_timeout=120..
#
# It is recommend.ed that you define on your system a unique u.ser which the学习
# ftp server can use as a totally .isola.ted and unprivileged user..
#nopr.iv_user=ftpsecure    健康
#
# Enable this and the server will recognise .async.hronous ABOR requests. Not    美容
# recommended for security (th.e code is non-trivial). Not en.abling it,            杀毒
# however, may confuse ol.der FTP clients..    外汇
#async_ab.or_enable=YES           建材
#
# By default the server will pretend to allow ASCII mode. but in fact ignore.(广告)
# the re.quest. Turn on the below options t.o have t.he server actually do ASCII<性病>
# mang.ling on files when in ASC.II mode.    健康
# Beware that on some FTP servers, ASCII. support. allows a denial of service    健康
# attack (DoS) vi.a the command "SIZE /big/.file" in ASCII mode. vsftpd.
# predicted this attack and has always been safe, re.porting the size of. the--------------彩票
# raw file.
# ASCII man.gling is a horrible feature .of the protocol.    健康
#ascii_upload_enable=.YES           建材
#ascii_download_enabl.e=YES.--- 印刷
#
# You may fully customise the .login banner strin.g:.
#ftpd_banner=Welcome .to bl.ah FTP service.    美容
#
# You may specify a file of disal.lowed anonymous. e-mail addresses. Appar.ently电影
# useful for combatting certain DoS.. attacks.电影
#deny_email_enable=YES.电脑
# (.default follows)健康
#banned_email_file=/etc/vsftpd/banned_.ema.ils             汽车
#
# You may specify an explicit list of local users to .chroo.t() to their home.
# dire.ctory. If chroot_local_user is YES., then this list becomes a list of.
# .users to NOT chroot().    外汇
#chroot_list_enab.le=YES             电子
# (default fol.lows)教育
#chroot_list_.file=/etc/vsftp.d/chroot_list              乙肝
#
# You may activate the "-R" option to the builti.n ls. .This is disabled by              乙肝
# default to. avo.id remote users being able to cause excessive I/O on large.
# sites. However, some broken. FTP client.s such as "ncftp" and "mirror" as.sume--- 印刷
# the presence of the "-R" option, s.o there is a st..rong case for enabling it.--------------彩票
#ls_recurse_enabl.e=YES教育
#
# When "listen" directive i.s enabled, vsftpd .runs in standalone mode and           婚庆
# listens on IPv4 sockets. Th.is directive cannot be u.sed in conjunction .
# with the. listen_ipv6 d.irective.    美容
listen=YES
#
# This directive enables listening on IPv.6 sockets. .To listen on. IPv4 and IPv6.
# sockets., you must run two copies of vsftpd whith two configura.tion files..
# Make su..re, that one of the listen options is commented !!.
#listen_ipv6=.YES.

pam_service_name=vsf.tpd(        游戏          )
us.erlist_enable=YES域名
tcp_wrappers=.YES域名


评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个