(原创)在Redhat9.0中将vsftpd 并入xinetd

[入库:2005年9月19日] [更新:2007年3月25日]

本文简介:


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 ] 
#

 cgweb 回复于:2003-09-18 12:53:25
# chkconfig vsftpd on
# service xinetd restart

 leon_qin 回复于:2003-12-10 00:36:50
service vsftpd应该改成service ftp

或者

把/etc/services中的ftp改成vsftpd

 winproxy 回复于:2004-03-30 10:44:01
不行呀,我完全按上面做的,怎么访问不了ftp?

本文关键:(原创)在Redhat9.0中将vsftpd 并入xinetd
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top