telnet 启动

    技术2022-05-20  47

    1、如果按装了telnet、telnet-server的rpm包,就跳到2、

    2、修改telnet服务配置文件

    vi /etc/xinetd.d/telnet

     

    service telnet

    {

     

    }

    将disable=yes行前加#,或者改为disable=no3。重新启动xinetd守护进程由于telnet服务也是由xinetd守护的,所以安装完telnet-server,要启动telnet服务就必须重新启动xinetd[root@localhost root]#service xinetd restart4。关闭系统的防火墙linux系统默认的防火墙是“high”。(方法:[root@localhost root]# setup选择:“firewall configuration”选择:security level——“no firewall”)5。如果想允许root以telnet登入linux主机?因为 telnet 不是很安全,自然预设的情况之下就是无法允许 root 以 telnet 登入 Linux 主机!想要开放 root 以 telnet 登入 Linux 主机的话,可以这样做:vi /etc/pam.d/login 在 auth    required     /lib/security/pam_securetty.so 这行前加 # ,即把这行注释掉就行啦!http://stimwoo.blogchina.com/stimwoo/1979967.htmlhttp://topblue.bokee.com/5400431.html[url=http://topblue.bokee.com/5400431.html][/url]本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/21848/showart_255746.html


    最新回复(0)