Solved

Telnet server on Linux

Posted on 2004-09-07
11
290 Views
Last Modified: 2013-12-06
Hello,
I'm running red hat linux AS, and I would like to set up this machine to act as a telnet server.
In a nutshell, I was wondering how to do this, or maybe more specifically, if there is any guide that would tell me how to do this.
Thanks
0
Comment
Question by:carlos_jjang
[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
  • 5
  • 2
11 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 12000131
The telnet daemon (telnetd) is something that's almost certainly active by default. If it isn't running, its because someone disabled it.

Did you inherit this system, or have you set it up yourself?
0
 
LVL 34

Accepted Solution

by:
PsiCop earned 168 total points
ID: 12000152
Generally. telnet depends on entries in /etc/services and in whatever file in RH controls inetd's subfunctions (in Solaris, this is /etc/init/inetd.conf, not sure about RH).

Logged into the box at the console, type entering --> man telnetd

That should show the manual page for the telnet daemon and explain how it is configured/started/stopped.
0
 
LVL 79

Assisted Solution

by:lrmoore
lrmoore earned 166 total points
ID: 12000292
Latest versions of RedHat and Fedora install with telnetd disabled....

edit the file /etc/xinetd.d/telnet and set the disable parameter to "no".

# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
       flags          = REUSE
       socket_type    = stream
       wait           = no
       user           = root
       server         = /usr/sbin/in.telnetd
       log_on_failure += USERID
       disable        = no
}

o        You'll then have to restart xinetd for the new settings to take effect.

[root@bigboy tmp]# /etc/init.d/xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@bigboy tmp]#

o        You can test whether the Telnet process is running with the following command which is used to check the TCP/UDP ports on which your server is listening, if it isn't running then there will be no response.

[root@bigboy root]# netstat -a | grep telnet
tcp        0        0        *:telnet        *:*        LISTEN
[root@bigboy root]#

Reference:
http://www.linuxhomenetworking.com/linux-hn/xinetd.htm


 

0
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 
LVL 34

Expert Comment

by:PsiCop
ID: 12000356
Ah. Didn't know that. Learn something new every day.
0
 
LVL 28

Assisted Solution

by:mikebernhardt
mikebernhardt earned 166 total points
ID: 12000613
I'd suggest using SSH server, which will be on... there's a reason why it's shipped with telnetd off these days--it's not secure.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12000639
Definitely. SSH should be preferred over telnetd. I'm currently supporting telnetd in a legacy mode, but I anticipate cutting it off in the next 12 months.
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 12598398
Points split?
0
 
LVL 28

Expert Comment

by:mikebernhardt
ID: 12606312
Sounds fine to me.
0

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

732 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