カスタム検索
|
Tweet |
|
|
wu-ftpd (FTPサーバ) を動かしてみる
Modified: 23 Jun 2001
wu-ftpの小技は、「wu-ftp(FTPサーバ)の小技」を参照してください。
”Redhat Linux 7.1” 以降、大きく変わったところ
ftpは、”TCP rapper”で起動されますので、”TCP rapper”の設定が必要です。
”7.0”までは、”TCP rapper”は、”inetd”でしたが、”7.1”以降、”xinetd”となり、従来、”/etc/inetd.conf”で設定していましたが、”/etc”に、”xinet.d”という専用のディレクトリができて、サーバーごとに設定ファイルが分解されました。
"/etc/xinit.d/wu-ftpd"を編集する
以下のように、”disable”を”no”、つまり、Enableに設定します
# default: on
# description: The wu-ftpd FTP server serves FTP connections. It uses \
# normal, unencrypted usernames and passwords for authentication.
service ftp
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
server_args = -l -a
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
disable = no
}
”xinetd” を再起動する
# /etc/rc.d/init.d/xinetd restart