Solved

Enable Telnet service

Posted on 2003-11-11
10
8,486 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
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
 
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

705 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

18 Experts available now in Live!

Get 1:1 Help Now