Solved

Telnet server on Linux

Posted on 2004-09-07
11
279 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ssh setup on Cisco swith 11 65
Reseller Hosting 2 89
f5 Persistence 14 51
Cisco 5508 WLC software upgrade 2 34
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
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…

776 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