Start the telnet service in sdebian

Source: Internet
Author: User
Article Title: Start the telnet service in sdebian. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Root @ 2 [/] # apt-get install xinetd

Reading the package list...

Analyzing the dependency tree of the software package...

The following [new] software packages will be installed:

Xinetd

A total of 0 software packages have been upgraded, 1 new software package has been installed, 0 software packages have to be uninstalled, and 0 software have not been upgraded.

Download the 0B/130kB software package.

After decompression, the extra space of 348kB is consumed.

Selecting previusly deselected package xinetd.

(Reading database... 65331 files and directories currently installed .)

Unpacking xinetd (from.../xinetd_1% 3a2. 3.13-2_i386.deb )...

Setting up xinetd (2.3.13-2 )...

Starting internet superserver: xinetd.

Stopping internet superserver: xinetd.

Adding 'diversion of/etc/init. d/inetd to/etc/init. d/inetd. real by xinetd'

Root @ 2 [/] # apt-get install telnetd

Reading the package list...

Analyzing the dependency tree of the software package...

The following [new] software packages will be installed:

Telnetd

A total of 0 software packages have been upgraded, 1 new software package has been installed, 0 software packages have to be uninstalled, and 0 software have not been upgraded.

Download the 0B/40.6kB software package.

After decompression, extra space of 139kB is consumed.

Selecting previusly deselected package telnetd.

(Reading database... 65337 files and directories currently installed .)

Unpacking telnetd (from.../telnetd_0.17-25_i386.deb )...

Setting up telnetd (0.17-25 )...

--------- Important information for xinetd users ----------

The following line will be added to your/etc/inetd. conf file:

Telnet stream tcp nowait telnetd. telnetd/usr/sbin/tcpd/usr/sbin/in. telnetd

If you are indeed using xinetd, you will have to convert

Above into/etc/xinetd. conf format, and add it manually. See

/Usr/share/doc/xinetd/README. Debian for more information.

-----------------------------------------------------------

Create a file/etc/xinetd. d/telnet with the following content and save

Root @ 2 [/] # nano-w/etc/xinetd. d/telnet

GNU nano 1.2.4 File:/etc/xinetd. d/telnet

# 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

Server_args =-h

Log_on_failure + = USERID

}

Root @ 2 [/] # apt-get install telnet

Reading the package list...

Analyzing the dependency tree of the software package...

The following [new] software packages will be installed:

Telnet

A total of 0 software packages have been upgraded, 1 new software package has been installed, 0 software packages have to be uninstalled, and 0 software have not been upgraded.

Download the 63.8kB software package.

After decompression, it will consume KB of extra space.

Obtain: 1

Http://mirrors.geekbone.org

Sid/main telnet 0.17-25 [63.8kB]

Download 53.0kB, time-consuming 4S (12.1kB/s)

Selecting previusly deselected package telnet.

(Reading database... 65349 files and directories currently installed .)

Unpacking telnet (from.../telnet_0.17-25_i386.deb )...

Setting up telnet (0.17-25 )...

Let's check the address.

Root @ 2 [/] # ifconfig

Eth0 Link encap: Ethernet HWaddr 00: 10: A4: 9F: 2B: FF

Inet addr: 192.168.1.254 Bcast: 192.168.1.255 Mask: 255.255.255.0

Inet6 addr: fe80: 210: a4ff: fe9f: 2bff/64 Scope: Link

Up broadcast running multicast mtu: 1500 Metric: 1

RX packets: 106942 errors: 0 dropped: 0 overruns: 0 frame: 0

TX packets: 103319 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 9 FIG: 1000

RX bytes: 110201058 (105.0 MiB) TX bytes: 11096727 (10.5 MiB)

Interrupt: 11 Base address: 0x4800

Lo Link encap: Local Loopback

Inet addr: 127.0.0.1 Mask: 255.0.0.0

Inet6 addr: 1/128 Scope: Host

Up loopback running mtu: 16436 Metric: 1

RX packets: 4410 errors: 0 dropped: 0 overruns: 0 frame: 0

TX packets: 4410 errors: 0 dropped: 0 overruns: 0 carrier: 0

Collisions: 0 txqueuelen: 0

RX bytes: 1030232 (1006.0 KiB) TX bytes: 1030232 (1006.0 KiB)

[1] [2] Next page

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.