Linuxtelnet installation configuration
Last Update:2014-05-21
Source: Internet
Author: User
Linuxtelnet installation configuration [root @ DemoPackages] # rpm-ivhxinetd-2.3.14-33.el6.i686.rpmwarning: xinetd-2.3.14-33.el6.i686.rpm: HeaderV3RSA/SHA256Signature, keyIDfd431d51: NOKEYPrep linux telnet installation configuration [root @ Demo Packages] # rpm-ivh xinetd-2.3.14-33.el6.i686.rpmwarning: xinetd-2.3.14-33.el6.i686.rpm: header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEYPreparing... ######################################## ### [100%] 1: xin Etd ####################################### #### [100%] [root @ Demo cdrom] # rpm-ivh telnet-telnet-0.17-47.el6.i686.rpm telnet-server-0.17-47.el6.i686.rpm [root @ Demo cdrom] # rpm-ivh telnet-* warning: telnet-0.17-47.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEYPreparing... ######################################## ### [100%] 1: telnet-server ##################################### #### # [50%] 2: telnet ####################################### #### [100%] [root @ Demo Packages] # cd/etc/xinetd. d/[root @ Demo xinetd. d] # vi telnet # default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet {flags = REUSE socket_type = stream wait = no user = root server =/usr/sbin/in. telnetd log_on_failure + = USER ID disable = no} [root @ Demo xinetd. d] # service xinetd restartStopping xinetd: [FAILED] Starting xinetd: [OK] [root @ Demo etc] # telnet 127.0.0.1Trying 127.0.0.1... connected to 127.0.0.1.Escape character is '^]'. red Hat Enterprise Linux Server release 6.2 (Santiago) Kernel 2.6.32-220. el6.i686 on an i686login: rootPassword: Login incorrectlogin: adminPassword: Last login: Sun Mar 17 10:05:35 from 192.168. 1.100 [admin @ Demo ~] $ Su-Password: [root @ Demo ~] # Use root to log on (root cannot log on by default): [root @ Demo etc] # mv securetty. bak [root @ Demo etc] # telnet 127.0.0.1Trying 127.0.0.1... connected to 127.0.0.1.Escape character is '^]'. red Hat Enterprise Linux Server release 6.2 (Santiago) Kernel 2.6.32-220. el6.i686 on an i686login: rootPassword: Last login: Mon Mar 18 00:52:51 from 172.1.1.1 [root @ Demo ~] # Modify the port of the Telnet Server (default value: 23 ): [root @ Demo etc] # vi/etc/servicestelnet 5023/tcptelnet 5023/udp [root @ Demo etc] # telnet 127.0.0.1 5023 Trying 127.0.0.1... connected to 127.0.0.1.Escape character is '^]'. red Hat Enterprise Linux Server release 6.2 (Santiago) Kernel 2.6.32-220. el6.i686 on an i686login: