架设Telnet
1 安装以下三个RPM 包
[[email protected] 6.8telnet-rpm]# rpm -qa | grep -i telnet
[[email protected] 6.8telnet-rpm]# rpm -ivh xinetd-2.3.14-39.el6_4.x86_64.rpm
warning: xinetd-2.3.14-39.el6_4.x86_64.rpm: Header V3 RSA/SHA1 Signature,key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:xinetd ########################################### [100%]
[[email protected] 6.8telnet-rpm]# rpm -ivh telnet-0.17-47.el6_3.1.x86_64.rpm
warning: telnet-0.17-47.el6_3.1.x86_64.rpm: Header V3 RSA/SHA1 Signature,key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:telnet ########################################### [100%]
[[email protected] 6.8telnet-rpm]# rpm -ivh telnet-server-0.17-47.el6_3.1.x86_64.rpm
warning: telnet-server-0.17-47.el6_3.1.x86_64.rpm: Header V3 RSA/SHA1 Signature,key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:telnet-server ########################################### [100%]
[[email protected] 6.8telnet-rpm]#
安装完成后
[[email protected] 6.8telnet-rpm]# vi /etc/xinetd.d/telnet
修改如下图
[[email protected] 6.8telnet-rpm]# chkconfig telnet on
[[email protected] 6.8telnet-rpm]# cd
[[email protected] ~]# service xinetd start
Starting xinetd: [ OK ]
[[email protected] ~]# netstat -lnt | grep :23
tcp 0 0 :::23 :::* LISTEN
[[email protected] ~]# mv /etc/securetty /etc/securetty.old
[[email protected] ~]#
现在测试使用Telnet 方式登录
看到以上信息表示服务已经架设成功。