1、确定你的telnet服务打开没有:
[root@111 ~]# chkconfig --list|grep telnet
ekrb5-telnet: off
krb5-telnet: off
[root@111 ~]#
注意检查结果这里是关闭状态
2、打开telnet服务:
[root@111 ~]# chkconfig krb5-telnet on
[root@111 ~]# chkconfig --list|grep telnet
ekrb5-telnet: offv
krb5-telnet: on
[root@111 ~]#
检查已经被打开了
3、修改登陆文件securetty,主要增加要登陆的终端点
[root@111 ~]# vi /etc/securetty
增加如下几行:
pts/1
pts/2
pts/3
pts/4
pts/5
……
保存退出即可。
如果是chkconfig krb5-telnet on
会提示Unencrypted connection refused. Goodbye.Connection closed by foreign host.看错误信息好像是说的为加密的连接被拒绝,查看了他的配置文件也没发现有什么关于加密的选项,而且配置文件也很正确,于是到google上去搜索了一大圈,最后终于找到一个老外写的一个解决方法:
原来ekrb5-telnet是一个需要加密的telnet服务,把这个服务启动上当然就需要加密了。解决方法:将/etc/xinetd.d/ekrb5-telnet里面的disable改成=yes,再重启xinetd服务service xinetd restart就OK了!
I really needed a bit of guidance and you provided it
./sbin/chkconfig --list |grep telnet
The above command told me I had both krb5-telnet and ekrb5-telnet,
andalso the installed telnet all on.
Initially I did not know what theywere all for. After turning them on and off and testing my telnetconnection from
another box I realised that "ekrb5-telnet" was theencrypted telnet
server that I needed to turn off to run "krb-telnet"which allowed
non-encrypted telnet connections.eg /sbin/chkconfig ekrb5-telnet off
【相关文章】
|
||||
| · 华为员工自杀频频拷问.. · 隐私保护技术探讨 · Windows Server 2008专.. · WCF开发基础 · Linux——从菜鸟到高手 · 微软出价446亿美元收购.. · SQL Server 2008/2005.. · RAID——磁盘阵列基础 |
· 微软Forefront企业安全.. · 如何优化IT 控制能耗 · 国际文档格式标准开战 · 珊瑚虫QQ作者侵权案开庭 · 贝恩资本携手华为22亿.. · 802.11n:下一代的无线.. · 体验Visual Studio 200.. · 运营商封堵非法ADSL共享 |
|||
|
||||
| · VPN技术 · SQL Server 2008/2005.. · 子网掩码教程 · SQL Server 2008/2005.. · RAID——磁盘阵列基础 · 中间件应用技术专题 · 深入了解PGP加密技术 · 病毒查杀专题 |
· VPN技术 · 国际文档格式标准开战 · SSL VPN详细知识 · Linux防火墙 · 打造安全服务器 · Sniffer安全技术从入门.. · 木马原理与防范 · ADSL应用面面俱到 |
|||
|
||||
| · SQL Server 2008/2005.. · 中间件应用技术专题 · SQL Server 2008/2005.. · 子网掩码教程 · RAID——磁盘阵列基础 · 身份认证技术 · 病毒查杀专题 · 清除流氓软件——51CTO.. |
· SSL VPN详细知识 · Sniffer安全技术从入门.. · VPN技术 · 了解统一威胁管理(UTM).. · 网络钓鱼 · ADSL应用面面俱到 · ADSL应用面面俱到 · 子网掩码教程 |
|||