Posted by: isaraffee | April 18, 2010

Configuring Telnet Server in Ubuntu Jaunty

Configuring Telnet Server in Ubuntu Jaunty

Telnet is run as a Super Server

root@ismail-laptop:/etc/init.d# cd /etc/xinetd.d

root@ismail-laptop:/etc/xinetd.d# ls -lrt

total 24

-rw-r–r– 1 root root 727 2008-07-28 20:26 time

-rw-r–r– 1 root root 580 2008-07-28 20:26 echo

-rw-r–r– 1 root root 549 2008-07-28 20:26 discard

-rw-r–r– 1 root root 660 2008-07-28 20:26 daytime

-rw-r–r– 1 root root 798 2008-07-28 20:26 chargen

-rw-r–r– 1 root root 392 2010-02-06 03:07 telnetd

If there is no telnetd file, create one like this

service telnetd

{

disable = no

type = INTERNAL

socket_type = stream

protocol = tcp

user = root

wait = no

}

After that restart the xinetd service

root@ismail-laptop:/etc# cd init.d/

root@ismail-laptop:/etc/init.d# ./xinetd

Usage: /etc/init.d/xinetd {start|stop|reload|force-reload|restart|status}

root@ismail-laptop:/etc/init.d# ./xinetd restart

Now from Vector, telnet to Ubuntu

root:# telnet 172.16.0.2

Trying 172.16.0.2…

Connected to 172.16.0.2.

Escape character is ‘^]’.

Ubuntu 9.04

ismail-laptop login: root

Password:

Last login: Sun Feb 14 16:23:21 SGT 2010 from 172.16.0.1 on pts/2

Linux ismail-laptop 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686

root@ismail-laptop:~#

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: