First, we will explain how to enable the telnet service on Ubuntu: 1. open the terminal, enter the following command to install: sudoapt-getinstallxinetdtelnetd2. after the installation is successful, open/etc/inetd. conf and add the following line telnetstreamtcpnowaittelnetd/usr/sbin/tcpd/usr/sbin/in. telnetd3. open/et
First, we will explain how to enable the telnet service on Ubuntu:
1. Open the terminal and run the following command to install it:
Sudo apt-get install xinetd telnetd
2. After the installation is successful, open/etc/inetd. conf and add the following line
Telnet stream tcp nowait telnetd/usr/sbin/tcpd/usr/sbin/in. telnetd
3. Open/etc/xinetd. conf and add the following content:
# Simple configuration file for xinetd
#
# Some ults, and include/etc/xinetd. d/
Ults
{
# Please note that you need a log_type line to be able to use log_on_success
# And log_on_failure. The default is the following:
# Log_type = SYSLOG daemon info
Instances = 60
Log_type = SYSLOG authpriv
Log_on_success = HOST PID
Log_on_failure = HOST
Cps = 25 30
}
Includedir/etc/xinetd. d
4. Open/etc/xinetd. d/telnet and add the following content:
# Default: on
# Description: The telnet server serves telnet sessions; it uses \
# Unencrypted username/password pairs for authentication.
Service telnet
{
Disable = no
Flags = REUSE
Socket_type = stream
Wait = no
User = root
Server =/usr/sbin/in. telnetd
Log_on_failure + = USERID
}
Note: Some versions do not telnet this file, we can create an identical file, save the content to it, save the encoding format for UTF-8!
5. restart the machine or restart the network service sudo/etc/init. d/xinetd restart
6. Use the TELNET client to log on remotely or to log on to the Super Terminal. After the logon succeeds, a prompt is displayed, indicating that the user name and password are entered.
After entering the correct information, you can log on to and control Ubuntu