ファイルの拡張子をhtmlからphpに変更したためアドレスが変わりました。 新しいページはこちらからお入りください。

2003年11月26日

proftpdの設定

一般からスーパーユーザに変更
$su -
------------
proftpd.confのバックアップ
#cd /etc
#ls -al proftpd*
#cp proftpd.conf proftpd.conf.org
------------
viでproftpd.confの編集
#vi proftpd.conf

# This is a basic ProFTPD configuration file
#
# It establishes a single server and a single anonymous login.
# It assumes that you have a user/group "nobody" and "ftp"
# for normal operation and anon.

ServerName "ProFTPD Basic Configuration"   ←ここを修正(任意)
ServerType standalone      ←ここを修正(inetdに変更)
DefaultServer on

:wq!で書き込み
------------
inetd.confのバックアップ
#cp inetd.conf inetd.conf.org

------------
viでinetd.confの編集
# vi inetd.conf

ファイル内で下記の箇所を探して修正
#ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd
 ↓(#をとる)
ftp stream tcp nowait root /usr/sbin/tcpd in.proftpd

------------
inetdを再起動
# killall -HUP inetd

これでFTPソフトで接続できればOK!!

投稿者 kazuhiko : 2003年11月26日 22:55
コメント
コメントする









名前、アドレスを登録しますか?