http://blog.chinaunix.net/uid-22996709-id-3056078.htmlhtml
在win7上安裝了SecurityCRT,登陸VMWARE Fedora時候登陸超時,檢查了win7下的ip地址以及vm中fedora 中ip地址,確認是在同一個局域網下,多是沒有啓動telnet服務。
1、linux下查詢telnet是否安裝:
[root@localhost ~]# rpm -qa | grep telnet
telnet-0.17-38.fc7
已安裝。
2、查詢telnet-server 驅動是否已經安裝
[root@localhost ~]# ypm -qa | grep telnet-server
[root@localhost ~]#
發現未安裝server
3、安裝telnet-server
[root@localhost ~]#yum -y install telnet-server
以後
[root@localhost ~]# yum -qa |grep telnet-server
telnet-server-0.17-38.fc7
安裝完畢
4、vim /etc/xinetd.d/telnet 啓用telnet
修改disable = no
保存
5、vim /etc/sysconfig/selinux 禁用本地策略應用設置
修改SElinux = disabled
保存
6、啓動xinetd服務
[root@localhost ~]# service xinetd restart
7、關閉防火牆
[root@localhost ~]# iptables -F
另:
7.一、[root@localhost ~]#setup
選擇firewall configuration,使能或者禁用防火牆,也能夠
[root@localhost ~]# system-config-securitylevel-tui 進行配置
7.二、永久配置方式:
[root@localhost ~]#chkconfig iptables off
7.三、立即生效:
[root@localhost ~]#service iptables stop
8、經過SecurityCRT telnet linux,OK
9、使能root 登陸權限
[root@localhost ~]# vim /etc/pam.d/login
修改:
#auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
保存後退出。