[转]fedora启动telnet服务

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
保存后退出。
相关文章
相关标签/搜索