如何vsftp限制某个用户用某个ip来访问?

由 Snoopy 在 12-24-2003 16:50 发表:

如何vsftp限制某个用户用某个ip来访问?

像ssh那样,AllowUser 用户@ip

怎么弄啊??网上找了很久也没那文章啊????谁弄过告诉我啊

在host.allow怎么设置?不管怎么设置都不行,谁帮帮我啊???


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 Snoopy 在 12-24-2003 17:12 发表:


可以像ssh那样限制用户才对啊,这种方式叫什么啊??


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 eddie_we 在 12-29-2003 13:15 发表:


那要看你用的是rh8 还是9了 8里面vsftp是在xinetd下的进程不是单独进程可以用tcpwrapper控制 9里面是一个单独的进程如果想控制的话最好的办法我看是用iptables了吧


由 Snoopy 在 12-29-2003 17:00 发表:


iptables??它哪能控制系统用户用哪些ip登录啊啊??开玩笑


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 buick2u 在 12-29-2003 20:00 发表:


hosts.allow This file describes the names of the hosts which are

allowed to use the local INET services, as decided

by the '/usr/sbin/tcpd' server.

vsftpd:202.xxx.xxx.xxx:setenv VSFTPD_LOAD_CONF /etc/vsftpd/vsftpd_tcp_wrap.conf

vsftpd:202.xxx..: DENY

~

可以针对不同的地址使用不同的配置文件。


提供suse 9.2下载!

http http://wchun.3322.org/suse/

bt http://wchun.3322.org/suse.torrent

反对霸权主义!


由 Snoopy 在 12-29-2003 20:31 发表:


" 可以针对不同的地址使用不同的配置文件。"

什么意思?有多个配置文件么 ?你具个例子可以么 ?


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 buick2u 在 12-30-2003 15:12 发表:


vsftpd:202.xxx.xxx.xxx:setenv VSFTPD_LOAD_CONF /etc/vsftpd/vsftpd_tcp_wrap.conf

你可以再建一个配置文件 /etc/vsftpd/vsftpd_tcp_wrap.conf

按照你的意思来,这个配置文件只有202.xxx.xxx.xxx 才能使用.

什么意思?有多个配置文件么

对! 就是这个意思.你想建立多少个规则就使用多少个配置文件.

ip地址可以使用 *


提供suse 9.2下载!

http http://wchun.3322.org/suse/

bt http://wchun.3322.org/suse.torrent

反对霸权主义!


由 Snoopy 在 12-30-2003 15:32 发表:


/etc/vsftpd/vsftpd_tcp_wrap.conf

内容是这样?

vsftpd:202.xxx.xxx.xxx:setenv VSFTPD_LOAD_CONF /etc/vsftpd/vsftpd_tcp_wrap.conf

setenv指的是什么,用户加在哪里?

第三个配置文件起用vsftpd_tcp_wrap1.conf ??

系统有认的吗??


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 buick2u 在 01-02-2004 12:19 发表:


Published At
Categories with 服务器类
Tagged with
comments powered by Disqus