|
|
ネットワーク No. 466 ProFTPD を xinetd を介して起動する
ProFTPD をスーパーサーバーである xinetd を介して起動する場合の設定について解説
いたします。
【手順】
(1) /etc/proftpd/proftpd.conf を編集
ServerType行を以下のように記述します。
[/etc/proftpd/proftpd.conf]
--------------------------
ServerType inetd
--------------------------
(2) /etc/xinetd.d/ftp ファイルの作成
以下の例に従って、/etc/xinetd.d/ftp ファイルを作成します。
例:
[/etc/xinetd.d/ftp]
------------------------------------------------
# default: off
# description: Proftpd
# securlevel: 30
service ftp
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/in.proftpd
}
------------------------------------------------
(3) ProFTPD がstandaloneで起動しないように設定します。
# chkconfig proftpd off
# /etc/init.d/proftpd stop
(4) xinetdを再起動します。
# /etc/init.d/xinetd restart
ftp ProFTPD xinetd 関連文書
Last modified : Wed Dec 25 JST 2002 # 2
|
Copyright © Turbolinux, Inc..All Right Reserved.

