Simple steps to open the Linux telnet service

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

When using the Linux system, many settings and Windows settings for different. Here we mainly explain the process of opening the Linux telnet service. In the Linux system, the default is not open Telnet, then how to open? First, changes to the /etc/xinetd.d/telnet file, and some may not have the file, such as krb5-telnet, then change the file, if there is a connection with telnet files are not; may be the telent service is not installed, you need to take the disk to install, or after installation is not, you create a new file, the contents of the file as:

  1.# default: off

  2.# description: The kerberized telnet server accepts normal telnet sessions, \

  3.# but can also use Kerberos 5 authentication.

  4.service telnet

  5.{

  6.flags = REUSE

  7.socket_type = stream

  8.wait = no

  9.user = root

  10.server = /usr/kerberos/sbin/telnetd

  11.log_on_failure += USERID

  12.disable = yes

  13.}

  Change the disable=yes "yes" to "no".,

  And then restart the Linux telnet service

  Input: service xinetd restart

  Stopping xinetd: [ OK ]

  Starting xinetd: [ OK ]

  Restart successfully,

  It can use the Linux telnet service to connect the host; but the default Linux does not allow remote telnet root user login, two kinds of methods to solve the problem:

  1, For non root 'user login, and then to root users in the switch,

  2, The second line comment out the /etc/pam.d/login file: #auth required pam_securetty.so; but I'm not tested

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by May at January 06, 2014 - 3:58 PM