rhel5如何配置自有的gssftp

先查看ftp是否启用此服务
chkconfig --list|grep ftp
chkconfig gssftp on
 
 
#####没机会让你输入用户及密码就退出了
[root@localhost etc]# ftp localhost
Connected to localhost.localdomain.
220 localhost.localdomain FTP server (Version 5.60) ready.
334 Using authentication type GSSAPI; ADAT must follow
GSSAPI accepted as authentication type
GSSAPI error major: Miscellaneous failure
GSSAPI error minor: Unknown code krb5 195
GSSAPI error: initializing context
GSSAPI authentication failed
334 Using authentication type KERBEROS_V4; ADAT must follow
KERBEROS_V4 accepted as authentication type
Kerberos V4 krb_mk_req failed: You have no tickets cached
Name (localhost:root):
530 Must perform. authentication before identifying USER.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
 
 
 
 
 
LINUX安装的时候,选择组件的时候要是没有选择FTP服务器(这里是vsftpd),系统会自带一个叫gssftp的ftp服务器。
安装好之后默认是本机用户不能登陆的。只要找到/etc/xinetd.d/gssftp,把 server_args 後面的 -a 移除,只留下 -l。重新启动gssftp:
/sbin/service xinetd restart

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9240380/viewspace-667836/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9240380/viewspace-667836/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值