Chinaunix首页 | 论坛 | 博客
  • 博客访问: 356606
  • 博文数量: 83
  • 博客积分: 5322
  • 博客等级: 中校
  • 技术积分: 1057
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-11 11:27
个人简介

爱生活,爱阅读

文章分类

全部博文(83)

文章存档

2015年(1)

2013年(1)

2012年(80)

2011年(1)

分类: LINUX

2012-01-09 21:19:55

   在win7上安装了SecurityCRT,登录VMWARE Fedora时候登录超时,检查了win7下的ip地址以及vm中fedora 中ip地址,确认是在同一个局域网下,可能是没有启动telnet服务。
 
   一、linux下查询telnet是否安装:
[root@localhost ~]# rpm -qa | grep telnet
telnet-0.17-38.fc7
已安装。
 
 二、查询telnet-server 驱动是否已经安装
[root@localhost ~]# ypm -qa | grep telnet-server
[root@localhost ~]#
  发现未安装server
 
三、安装telnet-server
[root@localhost ~]#yum -y install telnet-server
之后
[root@localhost ~]# yum -qa |grep  telnet-server
telnet-server-0.17-38.fc7
安装完毕
 
四、vim /etc/xinetd.d/telnet 启用telnet
 修改disable  = no
 保存
 
五、vim /etc/sysconfig/selinux 禁用本地策略应用设置
修改SElinux = disabled
保存
 
六、启动xinetd服务
[root@localhost ~]# service xinetd restart
 
七、关闭防火墙
[root@localhost ~]# iptables -F
 另:
   7.1、[root@localhost ~]#setup
       选择firewall configuration,使能或者禁用防火墙,也可以
       [root@localhost ~]# system-config-securitylevel-tui 进行配置
   7.2、永久配置方式:
     [root@localhost ~]#chkconfig iptables off
   7.3、当即生效:
     [root@localhost ~]#service iptables stop
 
八、通过SecurityCRT telnet linux,OK
 
九、使能root 登录权限
[root@localhost ~]# vim /etc/pam.d/login
修改:
#auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
保存后退出。
 
 
 
阅读(3896) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~