- 论坛徽章:
- 0
|
想开通telnet 和 ftp ,今天弄了一天 ,快要抓狂了!
本人在VitualPc上安装了一台Linux AS3 .内核 2.6.9-5.EL,telnet和ftp分别使用的是krb5-telnet 和 gssftp。
开始的时候telnet和gssftp都上不去
到/etc/xinetd.d/下将各自的 disable 都改成 NO
并且
chkconfig krb5-telnet on
chkconfig gssftp on
修改了/etc/pam.d/login
#auth required /lib/security/pam_securetty.so
在/etc/securetty下添加pts/0,pts/1,pts/2
清空了防火墙
后来普通用户 user 在 telnet 上可以登陆上去,但是非常缓慢,并提示:
“Resource temporarily unavailable while getting initial credentials”
root则提示:“incorrect”,不能登陆。
SSH 可以登陆,但是也非常的慢。
login as: root
root@192.168.0.58's password:
Last login: Mon Sep 3 14:24:16 2007 from 192.168.0.30
[root@new-host-2 ~]#
从虚拟机ping 192.168.0.1(在windows下测试过能通)不通
外部想登陆虚拟机ftp,非常缓慢,最后提示
C:\>ftp 192.168.0.58
Connected to 192.168.0.58.
220 new-host-2 FTP server (Version
User (192.168.0.58 none)): user
331 Password required for user.
Password:
Connection closed by remote host.
请教各位大师,如何排错和配置啊,跪求! |
|