当前位置首页 > Fedora知识

[转]fedora启动telnet服务

阅读次数:342 次  来源:admin  发布时间:

http://blog.chinaunix.net/uid-22996709-id-3056078.html

在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 保存后退出。
上一篇:在惠普笔记本6510B上安装Fedora8成功之旅-笨小窗
下一篇:fedora27安装后的配置工作(持续更新)