Solved

Enable Telnet service

Posted on 2003-11-11
10
8,490 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Squid Connection Pools 3 43
Removing DES and 3DES ciphers in linux RedHat 6.8 38 93
php ssh2_scp_send 1 46
CentOS/RHEL 7 Linux maillog worldwide readable 2 39
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

929 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

15 Experts available now in Live!

Get 1:1 Help Now