Solved

Telnet server on Linux

Posted on 2004-09-07
11
268 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
  • 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
 
LVL 34

Expert Comment

by:PsiCop
ID: 12000356
Ah. Didn't know that. Learn something new every day.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

IT, Stop Being Called Into Every Meeting

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
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 …
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…

759 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

22 Experts available now in Live!

Get 1:1 Help Now