Telnet for ubuntu

Install Telnet in ubuntu Desktop
Telnet is not secure to use in production. But sometime we need it. I tried it for educational purpose and for my knowledge.

To isntall the Telnet, use this command

jay@jay-vm:~$ sudo apt-get install telnetd
[sudo] password for jay: (type your password here)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  openbsd-inetd
The following NEW packages will be installed:
  openbsd-inetd telnetd
0 upgraded, 2 newly installed, 0 to remove and 538 not upgraded.
Need to get 73.1 kB of archives.
After this operation, 303 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://np.archive.ubuntu.com/ubuntu/ precise/main openbsd-inetd i386 0.20091229-1ubuntu1 [30.5 kB]
Get:2 http://np.archive.ubuntu.com/ubuntu/ precise/universe telnetd i386 0.17-36build1 [42.6 kB]
Fetched 73.1 kB in 0s (105 kB/s)
Selecting previously unselected package openbsd-inetd.
(Reading database ... 142310 files and directories currently installed.)
Unpacking openbsd-inetd (from .../openbsd-inetd_0.20091229-1ubuntu1_i386.deb) ...
Selecting previously unselected package telnetd.
Unpacking telnetd (from .../telnetd_0.17-36build1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up openbsd-inetd (0.20091229-1ubuntu1) ...
 * Stopping internet superserver inetd                                   [ OK ]
 * Not starting internet superserver: no services enabled
Setting up telnetd (0.17-36build1) ...
Adding user telnetd to group utmp

After finishing the installation restart the telnet service
jay@jay-vm:~$ sudo service openbsd-inetd restart
 * Restarting internet superserver inetd                                 [ OK ]


You can login to the server  using following command

$telnet [ubuntu-desktop-ip]
$telnet [ubuntu-desktop-domain-name]

enjoy!