Yum installation telnet Service
1. Check if telnet is installed or not
[[email protected] ~]# Rpm-qa |grep telnet
2. view yum source
[[email protected] ~]# Yum list |grep telnet
telnet.x86_64 1:0.17-48.el6 @base
telnet-server.x86_64 1:0.17-48.el6 @base
[Email protected] ~]#
3. performing yum installation
[Email protected] ~]# yum-y install Telnet-server
4. View
[[email protected] ~]# Rpm-qa |grep telnet
Telnet-0.17-48.el6.x86_64
Telnet-server-0.17-48.el6.x86_64
[Email protected] ~]#
5. turn on the telnet service and view the status
[[email protected] ~]#/etc/init.d/xinetd start
Starting xinetd:
[[Email protected] ~]# service Xinedt status
Xinedt:unrecognized Service
[[Email protected] ~]# service xinetd status
XINETD (PID 9636) is running ...
[Email protected] ~]#
6. See if the service is installed
[Email protected] ~]# chkconfig--list |grep telnet
Telnet:on
[Email protected] ~]# chkconfig--list |grep xinted
[Email protected] ~]# chkconfig--list |grep xinetd
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
XINETD Based services:
[Email protected] ~]#
7. to see if the telnet port is turned on,telnet default port is zero So you can use the command to view
[Email protected] ~]# NETSTAT-APN |grep 23
TCP 0 0192.168.1.52:23 192.168.1.5:4403 established 9670/in.telnetd
TCP 0 0:::23:::* LISTEN 9636/xinetd
UNIX 3 [] STREAM CONNECTED 11923 1288/master
[Email protected] ~]#
the display port is listenning then the service is xinetd
8. test can use this server test also can be used for client testing
This side is with the client
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/8B/EC/wKioL1hcy6fx9IF7AAA-I4SjXlQ819.png-wh_500x0-wm_3 -wmp_4-s_439432494.png "title=" Image001.png "alt=" Wkiol1hcy6fx9if7aaa-i4sjxlq819.png-wh_50 "/>
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/8B/F0/wKiom1hczAri-0GVAABIylCI678788.png-wh_500x0-wm_3 -wmp_4-s_2296771014.png "title=" Image003.png "alt=" Wkiom1hczari-0gvaabiylci678788.png-wh_50 "/>
One thing to note here is that administrators are not allowed to log on by default
so create a new user and then sign in with a new user who can create a new user [email protected] ~]# cat/etc/passwd
Root:x:0:0:root:/root:/bin/bash
Bin:x:1:1:bin:/bin:/sbin/nologin
Daemon:x:2:2:daemon:/sbin:/sbin/nologin
Adm:x:3:4:adm:/var/adm:/sbin/nologin
Lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
Sync:x:5:0:sync:/sbin:/bin/sync
Shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
Halt:x:7:0:halt:/sbin:/sbin/halt
Mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
Uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
Operator:x:11:0:operator:/root:/sbin/nologin
Games:x:12:100:games:/usr/games:/sbin/nologin
Gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
Ftp:x:14:50:ftp User:/var/ftp:/sbin/nologin
Nobody:x:99:99:nobody:/:/sbin/nologin
Vcsa:x:69:69:virtual Console Memoryowner:/dev:/sbin/nologin
saslauth:x:499:76: "Saslauthduser":/var/empty/saslauth:/sbin/nologin
Postfix:x:89:89::/var/spool/postfix:/sbin/nologin
Sshd:x:74:74:privilege-separatedssh:/var/empty/sshd:/sbin/nologin
Zuzhao:x:500:500::/home/zuzhao:/bin/bash
Apache:x:48:48:apache:/var/www:/sbin/nologin
Mysql:x:27:27:mysql Server:/var/lib/mysql:/bin/bash
[Email protected] ~]#
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/EC/wKioL1hczCmzRDS9AAA6fpHWC-Q406.png-wh_500x0-wm_3 -wmp_4-s_697938694.png "title=" Image005.png "alt=" Wkiol1hczcmzrds9aaa6fphwc-q406.png-wh_50 "/>
And then in the login
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/8B/EC/wKioL1hczEeRLVmZAAAm2AEM_qU896.png-wh_500x0-wm_3 -wmp_4-s_305352129.png "title=" Image007.png "alt=" Wkiol1hczeerlvmzaaam2aem_qu896.png-wh_50 "/>
Complete.
This article is from the "Tigase Installation and testing" blog, so be sure to keep this source http://jiazuzhao.blog.51cto.com/1123655/1885535
Yum Install Telnet Service