?
Solved

Telnet server on Linux

Posted on 2004-09-07
11
Medium Priority
?
302 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 672 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 664 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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 664 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

Tutorial: Introduction to Managing a Linux Server

In this tutorial on systemd, we will explore:
-OS/Distro Adoption
-chkconfig and Other Legacy Commands
-Summary and Key Commands

Question has a verified solution.

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

Make the most of your online learning experience.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
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 brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 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