Red hat AS4开启telnet过程

这里写一个Red hat AS4开启telnet过程开启过程,按照以下步骤(4个步骤)就可以了:
1、确定你的telnet服务打开没有:
        [root@111 ~]# chkconfig --list|grep telnet
        telnet: off
        krb5-telnet:    off
        [root@111 ~]#
       注意检查结果这里是关闭状态
2、打开telnet服务:
        [root@111 ~]# chkconfig --level 35 telnet on
        [root@111 ~]# chkconfig --list|grep telnet
        telnet: on
        krb5-telnet:    off
        [root@111 ~]#
       检查已经被打开了
3、修改登陆文件securetty,主要增加要登陆的终端点
        [root@111 ~]# vi /etc/securetty      
       增加几个pts/x:
        pts/0
        pts/1
        pts/2
        pts/3
        pts/4
        pts/5
        ……
       保存退出:
      
4、测试登录:
        [root@111 ~]# telnet 192.168.0.201              
        Trying 192.168.0.201...                               
        Connected to 111 (192.168.0.201).                
        Escape character is '^]'.                             
        Red Hat Enterprise Linux AS release 4 (Nahant Update 3)
        Kernel2.6.9-34.EL on an i686                         
        login: root                                           
        Password:                                            
        Last login: Tue Sep 12 14:48:38 from 111        
        [root@111 ~]#
       
测试登陆正常,如果说像其他的外界因素的影响,请先排除外界的,比如:iptables和selinu

你可能感兴趣的:(职场,telnet,休闲)