由 dato 在 09-23-2003 03:58 发表:
源码安装vsftpd时碰到的问题
奇怪每次第一次刚编绎好时
/usr/local/sbin/vsftpd &
用localhost 和192.168.1.3访问都正常
可是一旦重启,ntsysv里有 vsftpd的启动选项
就只能使用localhost访问了192.168.1.3就根本不能连接,
这次我不想放弃了,哪位高手知道原因
Webmasterworld -- the next person you help may just be yourself!
由 dato 在 09-23-2003 04:17 发表:
将ntsysv里的vsftpd 去除
/usr/local/sbin/vsftpd & 启动又可以了
估计就是这个东东
/etc/xinetd.d/vsftpd在做怪
default: on
description:
The vsftpd FTP server serves FTP connections. It uses
normal, unencrypted usernames and passwords for authentication.
vsftpd is designed to be secure.
service ftp
{
disable = yes ====改为NO了自己又改回来
socket_type = stream
wait = no
user = root
server = /usr/local/sbin/vsftpd
server_args =
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
}
Webmasterworld -- the next person you help may just be yourself!
由 dato 在 09-23-2003 06:01 发表:
#only_from 192.168.1.0
#不允许的连接
no_access =10.168.0.0
上面两个应该设置为什么才可以允许所有用户访问
xinetd模式原理上应该不需要任何设置就可以允许来自任何IP的连接,HOHO我也不敢轻易下结论,我不是REDHAT用户,就拿安装说明来说吧,作者一直没有更改错误
> quote:
>
> * * *
>
> 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 o