Use telnet and Super Terminal logon Control

Source: Internet
Author: User
Use telnet and Super Terminal logon control-Linux Enterprise Application-Linux server application information. The following is a detailed description. 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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.