当前位置:Linux教程 - RedHat - ftp服务 - 在Redhat9.0中将vsftpd并入xinetd

ftp服务 - 在Redhat9.0中将vsftpd并入xinetd

在Redhat9.0中将vsftpd并入xinetd
2004-04-23 15:18 pm
来自:Linux文档
现载:Www.8s8s.coM
地址:无名

vsftp在rh8.0里的典型配置是/etc/xinetd.d/vsftpd 可是rh9却没有,我个人觉得不习惯,于是在rh9中将vsftpd 并入xinetd.(有不对的请兄弟们指教)
1.
修改/etc/vsftpd/vsftpd.conf
将 listen=YES 改为 listen=NO

2. 在/etc/xinetd.d/里新增一个档案vsftpd:
#vi /etc/xinetd.d/vsftpd
service vsftpd
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
port = 21
log_on_success += PID HOST DURATION
log_on_failure += HOST
}

Step3.

重新启动xinetd
/sbin/service xinetd restart Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
#

【发表回复】【查看CU论坛原帖】【关闭】
cgweb 回复于:2003-09-18 12:53:25
# chkconfig vsftpd on
# service xinetd restart