ftpd(8) - 使い方

ftpデーモン。RHEL系では多分gssftpのこと。 思わずこちらを使いたくなるが、おすすめは、vsftpd(8)

起動設定&起動する
[root@localhost ~]# chkconfig --list | grep gssftp
 gssftp:         off
[root@localhost ~]# chkconfig gssftp on
[root@localhost ~]# chkconfig --list | grep gssftp
 gssftp:         on
[root@localhost ~]#

起動解除&停止する
[root@localhost ~]# chkconfig --list | grep gssftp
 gssftp:         on
[root@localhost ~]# chkconfig gssftp off
[root@localhost ~]# chkconfig --list | grep gssftp
 gssftp:         off
[root@localhost ~]# 

Kerberos認証の使用を止める
※server_argsから-aオプションを外す
[root@localhost ~]# cat /etc/xinetd.d/gssftp 
# default: off
# description: The kerberized FTP server accepts FTP connections \
#              that can be authenticated with Kerberos 5.
service ftp
{
 disable = yes
 flags  = REUSE
 socket_type = stream        
 wait  = no
 user  = root
 server  = /usr/kerberos/sbin/ftpd
# server_args = -l -a
 server_args = -l
 log_on_failure += USERID
}
[root@localhost ~]# 

以上

コメント