UNIX/proftpd のバックアップソース(No.2)

* UNIX/proftpd [#yf1d433f]

** Debian GNU/Linux 3.1 sarge [#g61dabe3]
 apt-get install proftpd
~

** source compile install [#y1e5f29e]
 ./configure \
   --prefix=/usr/local/proftpd \
   --sysconfdir=/etc/proftpd.d
 make
 make install
~

** 各種設定 [#g7819753]
-ログイン時のidentプロトコル(RFC1413)抑制方法
 /etc/proftpd/proftpd.conf
 〜〜〜
 IdentLookups  off
 〜〜〜

-接続時のサーバ情報表示抑制方法~
※「ProFTPD 1.2.8 Server (コメント) [XXX.XXX.XXX.XXX]」等~
 /etc/proftpd/proftpd.conf
 〜〜〜
 ServerIdent off
 〜〜〜

-特定ディレクトリにアップロードした場合にumaskを変更する方法
 <Directory /var/webapps/*>
   Umask 002
 </Directory>

-シンボリックリンクの扱い~
本来のディレクトリを見せない
 ShowSymlinks off
 ---
 /home/user/symdirname
本来のディレクトリを見せる~
 ShowSymlinks on
 /var/truedirname