|
楼主 |
发表于 2003-9-23 06:01:12
|
显示全部楼层
#only_from 192.168.1.0
#不允许的连接
no_access =10.168.0.0
上面两个应该设置为什么才可以允许所有用户访问
xinetd模式原理上应该不需要任何设置就可以允许来自任何IP的连接,HOHO我也不敢轻易下结论,我不是REDHAT用户,就拿安装说明来说吧,作者一直没有更改错误2c) For anonymous FTP, you will need the user "ftp" to exist, and have a
valid home directory (which is NOT owned or writable by the user "ftp").
The following commands could be used to set up the user "ftp" if you do not
have one:
[root@localhost root]# mkdir /var/ftp/
[root@localhost root]# useradd -d /var/ftp ftp
(the next two are useful to run even if the user "ftp" already exists).
[root@localhost root]# chown root.root /var/ftp
[root@localhost root]# chmod og-w /var/ftp 事实上从源码安装的话目录应该为/var/ftpd真是郁闷死了,
我已经试过 only_from 192.168.1.3 only_from=192.168.1.3还是不行,也许和什么参数冲突了吧。真是见鬼了现在ftp localhost不行了那么only_from参数应该生效了吧,可是…… |
|