Red Hat 配置FTP服务

查看端口信息
# netstat -tnlp|grep 21

配置gssftp
# vim /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
}

重启服务
# service xinetd restart
# netstat -tnlp|grep 21

你可能感兴趣的:(red hat)