原文地址:http://www.cnblogs.com/zhongshengzhen/
1、检查是否已经安装telnet
[root@localhost ~]# rpm -qa | grep telnet
2、安装telnet及telnet-server
[root@localhost ~]#  yum install telnet
[root@localhost ~]# yum install telnet-server
3、因为装好telnet服务之后,默认是不开启服务的,下面我们需要修改文件来开启服务。
[root@localhost ~]# vi /etc/xinetd.d/telnet
修改 disable = yes 为 disable = no 
service telnet
{
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        disable         = no
}
4、需要激活xinetd服务
[root@localhost ~]# service xinetd restart
Stopping xinetd: [FAILED]
Starting xinetd: [  OK  ]
[root@localhost ~]# service xinetd restart
Stopping xinetd: [  OK  ]
Starting xinetd: [  OK  ]
5、需要测试telnet是否成功开启

相关文章:

  • 2022-01-10
  • 2021-09-02
  • 2021-12-29
  • 2021-09-06
  • 2021-11-29
  • 2021-11-29
  • 2021-11-29
猜你喜欢
  • 2021-05-24
  • 2021-08-16
  • 2021-10-05
  • 2022-12-23
  • 2021-06-25
  • 2021-06-13
相关资源
相似解决方案