Ubuntu12.04Telnet service settings

Source: Internet
Author: User
The newly installed Ubuntu12.04 has no telnet function. You need to configure it. I mainly want Ubuntu12.04 to enable the telnet service as a server. Install openbsd-inetd: # sudoapt-getinstallopenbsd-inetd install telnetd: # sudoapt-getinstalltelnetd. You can see this line in the etc/inetd. conf file: telnet

The newly installed Ubuntu 12.04 does not have the telnet function. You need to configure it. I mainly want to enable the telnet service for servers in Ubuntu 12.04.

Install openbsd-inetd:
# Sudo apt-get install openbsd-inetd

Install telnetd:
# Sudo apt-get install telnetd

You can see this line in the etc/inetd. conf file:
Telnet stream tcp nowait root/usr/sbin/tcpd/usr/sbin/in. telnetd
If this line does not exist, manually add

Restart openbsd-inetd
#/Etc/init. d/openbsd-inetd restart

View telnet running status
# Netstat-a | grep telnet
Output: tcp 0 0 *: telnet *: * LISTEN

In the windows command line, enter telnet 192.168.1.8 (My linux IP address)
Enter the user name and password as prompted (non-root User)

The effect is as follows:

Ubuntu 12.04
Ubuntu login: kevin
Password:
Linux ubuntu 2.6.35-22-generic # 33-Ubuntu SMP Sun Sep 19

20:34:50 UTC 20
10 i686 GNU/Linux
Ubuntu 12.04
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/

New release 'natty 'available.
Run 'do-release-upload' to upgrade to it.


The programs encoded with the Ubuntu system are free software;
The exact distribution terms for each program are described in
Individual files in/usr/share/doc/*/copyright.

Ubuntu comes with absolutely no warranty, to the extent permitted
Applicable law.

Install and create a Telnet server http://www.linuxidc.com/Linux/2010-03/25150.htm in Ubuntu

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-04/116125.htm

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.