LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 780|回复: 2

問:關於VSFTP的問題

[复制链接]
发表于 2004-10-27 16:53:19 | 显示全部楼层 |阅读模式
我用的是紅帽RHEL3套件
下面是以xinetd啓動的vsftpd在/etc/xinetd.d/vsftpd配置文件

# default: off
# description: The vsftpd FTP server serves FTP connections. It uses \
#       normal, unencrypted usernames and passwords for authentication.
service ftp
{
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/vsftpd
        nice                    = 10
        disable                 = no
        flags                   = IPv4
        no_access 192.168.12.2
        only_from 192.168.11.0    我的主機就是在這個網段內不過添加上這一句我的主機就訪問不了FTP,而且必須注釋掉上面的兩句才可以訪問,這到掉是爲什麽啊?
        #per_source=6
        #instances=70
       # access_times=8:30-11:30 13:00-16:00
        #access_times=22:00-23:00
       # banner_fail=/etc/vsftpd.busy_banner
}
发表于 2004-10-28 06:32:17 | 显示全部楼层
only_from 192.168.11.0/24
 楼主| 发表于 2004-10-29 17:00:19 | 显示全部楼层
多試一下吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表