Solved

Telnet configuration

Posted on 2006-07-21
7
5,327 Views
Last Modified: 2008-01-09
Hi
im new in ubuntu
i use ubuntu 5.10....
how to configure telnet on ubuntu as server?
as i know is telnet use default port 23
thank you
0
Comment
Question by:wismadank
7 Comments
 
LVL 12

Expert Comment

by:ibu1
ID: 17159022
Do this exactly
# chkconfig --level 35 telnet on
# vi /etc/xinetd.d/telnet

disable  = no

exit and save file

# service xinetd restart

Best of luck
0
 
LVL 87

Expert Comment

by:rindi
ID: 17159157
Don't use telnet, it is disabled by default for a reason (security, as the password is transmitted openly). You should rather use ssh instead, and that is most probably already installed and running!
0
 

Author Comment

by:wismadank
ID: 17160650
Comment from ibu1
Date: 07/21/2006 11:29PM PDT
      Comment       Accept

Do this exactly
# chkconfig --level 35 telnet on
# vi /etc/xinetd.d/telnet

disable  = no

exit and save file

# service xinetd restart

Best of luck
===================================
in that way if i try in fedora 3..it works..
but i try in ubuntu 5.10
#chkconfig ---> command not found

there is no files with name xinetd in ubuntu
i found that telnet was installed for client not as server

i try to login as telnet to server from my handphone
and the server is..ubuntu :P
please help me.....
thank you for the answer
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 24

Expert Comment

by:slyong
ID: 17161386
Have you installed telnetd and xinetd?  To install telnetd you need to enable the "universe" repository. This contains programs that aren't supported by Ubuntu but are imported from the Debian project and generally work well. See http://www.ubuntulinux.org/wiki/UniversePackages for information on how to enable that in synaptic, or if you prefer to do it manually edit the /etc/apt/sources.list to include "universe" at the end of the lines that have "main restricted", like the following:

deb http://archive.ubuntu.com/ubuntu/ warty main restricted universe
deb-src http://archive.ubuntu.com/ubuntu/ warty main restricted universe

After doing that and updating via "apt-get update" or reloading in synaptic, you'll be able to easily install telnetd, and then it should work no problem at all.
0
 

Author Comment

by:wismadank
ID: 17208904
i have installed telnetd and xinetd....
and i can execute this command
#/etc/init.d/xinetd start

in xinetd.d (#ls /etc/xinetd.d/ ) folder, i don't find any files with name telnet...
should i write it manually?
and then restart the xinetd.....
thanks for the answer
0
 
LVL 24

Accepted Solution

by:
slyong earned 125 total points
ID: 17208989
edit /etc/xinetd.conf to:

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d

vi /etc/xinetd.d/telnetd to:
service telnetd
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

then do:

# /etc/init.d/xinetd restart

should work then
0
 

Author Comment

by:wismadank
ID: 17217073
thanks slyong...
it work now....but for correct
in /etc/xinetd.d when i write telnetd as you ask...it can not remoted...
and then i try this...

#vi /etc/xinetd.d/telnet
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

and theni restart the xinetd
and now i can try to remote my server from my handphone....
thanks to all of you who comment to my question..
you are experts......

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now