Solved

Enable Telnet service

Posted on 2003-11-11
10
8,501 Views
Last Modified: 2013-12-16
Hi,

   I have installed Linux 9 in my m/c.  i cann't able to telnet from another m/c to this.
and if i stop the xinetd service, it says, stopping xinetd  Failed. what should i do?
but i can able to do FTP.

i have checked in /etc/xinetd.d/telnet file  it says disable is No

Deva...
0
Comment
Question by:Deva77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 32 total points
ID: 9721642
make sure that there is an entry for telnet service in /etc/services

start telnet from  /usr/sbin/in.telnetd with whatever options you deem fit ...
man 8 telnetd for detailed information on telnet options
0
 
LVL 40

Assisted Solution

by:jlevie
jlevie earned 31 total points
ID: 9722093
This sounds like it might be RedHat 9. The first thing to check is whether you have the telnet server package installed with 'rpm -q telnet-server'. If it is you next need to make sure that the service is enabled with 'checkconfig telnet on' and follow that with 'service xinetd restart'. At this point the telnet service should be enabled and you can check that by trying 'telnet localhost' and a telnet session to the server from some other machine. If telnet to the localhost works, but sessions from outside fail you need to look for a firewall being in the way.
0
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 31 total points
ID: 9727437
telnet is not secure, plain text password. consider use secure shell instead. (ssh or openssh, they
are including secure FTP - sftp as well)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 24

Assisted Solution

by:shivsa
shivsa earned 31 total points
ID: 9733178
you can enable xinetd-managed services simply with:
 
  # chkconfig telnet on

doing this restarts xinetd automatically.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9733198
also
you also need to make sure that telnet/port 23 isn't being restricted by any any firewalling or entries in /etc/hosts.allow and /etc/hosts.deny.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9733206
Check with the following command.
#rpm -qa | grep telnet

if it is not installed, install the same from the CD

rpm -ivh telnet-server-??????.rpm

enable the telnet in /etc/xinet.d/telnet file. Give disable=no

Restart the xinetd daemon

/etc/init.d/xinetd restart
0
 
LVL 2

Expert Comment

by:EarleAke
ID: 9739432
What error do you get when you try to telnet?  Do you get  the login prompt and are unable to login or can you not connect at all?  If you get the login prompt but can't login, maybe you are trying as root.  By default, root can't telnet in.
0
 
LVL 2

Expert Comment

by:sam_sunder
ID: 9770193
Hi Deva,

1 The first thing you have to do is to see weather  telnet server rpm is available or not.
2. Type ntsysv at the prompt . you can see all the services in the menu check telnet and restart the xinetd demon.
3. You also have to check for telnet service in /etc/services.
4. The best thing is to use ssh for security reasons.  

Its  good to use a tool like putty. you can find this at http://www.chiark.greenend.org.uk/~sgtatham/putty/ . This is really a great
tool. I use it. it supports telnet, ssh, rlogin.

regards

sam
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

717 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