|
发表于 2003-4-15 18:35:30
|
显示全部楼层
2. 在/etc/xinetd.d下新增加文件 proftpd
内容如下
service ftp
{
disable = no
flags = REUSE
socket_type = stream
instances = 30
wait = no
user = root
server = /usr/local/sbin/proftpd
log_on_success = HOST PID
log_on_failure = HOST RECORD
}
我执行后提示错误
[root@hcf-linux xinetd.d]# /etc/xinetd.d/proftpd stop
ftp: unrecognized service
disable: Operation failed: client-error-not-found
/etc/xinetd.d/proftpd: line 4: flags: command not found
/etc/xinetd.d/proftpd: line 5: socket_type: command not found
/etc/xinetd.d/proftpd: line 6: instances: command not found
/etc/xinetd.d/proftpd: line 7: wait: `=': not a pid or valid job spec
/etc/xinetd.d/proftpd: line 7: wait: `no': not a pid or valid job spec
/etc/xinetd.d/proftpd: line 8: user: command not found
/etc/xinetd.d/proftpd: line 9: server: command not found
/etc/xinetd.d/proftpd: line 10: log_on_success: command not found
/etc/xinetd.d/proftpd: line 11: log_on_failure: command not found |
|