FTP セットアップ

RPMのインストール確認

# rpm -aq | grep ftp

lftp-3.7.11-4.el5_5.3

tftp-server-0.49-2

ftp-0.17-35.el5

設定ファイル編集

# vi /etc/xinetd.d/gssftp

# default: off

# description: The kerberized FTP server accepts FTP connections \

# that can be authenticated with Kerberos 5.

service ftp

{

flags = REUSE

socket_type = stream

wait = no

user = root

server = /usr/kerberos/sbin/ftpd

server_args = -l

log_on_failure += USERID

disable = no

}

デーモンを再起動する

# /etc/rc.d/init.d/xinetd restart

xinetd 再起動

/etc/rc.d/init.d/xinetd restart

xinetd を停止中: [ OK ]

xinetd を起動中: [ OK ]

GUI 設定

RedHat Enterprise Linux 4 update6で、Telnet を有効にする

アプリケーション>システム設定>サーバ設定>サービス

のサービスの設定画面から、下記にチェックを入れて保存します。

krb5-telnet

RedHat Enterprise Linux 4 update6で、FTPを有効にする

アプリケーション>システム設定>サーバ設定>サービス

のサービスの設定画面から、下記にチェックを入れて保存します。

gssftp