Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-26-2001, 09:39 PM   #1
LQ Newbie
Registered: Feb 2001
Posts: 1

Rep: Reputation: 0

I've been looking this evening for a how-to on how to setup a Telnet server, and can't seem to find a good (ie, EASY) one anywhere!

Is Telnet part of Apache? Can anyone point me in the right direction?
Old 02-26-2001, 09:59 PM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
No, telnet is not part of Apache.

What Distro are you using? Most Linux distros usually come with telnet already working.

The telnet daemon gets kicked by the inetd when someone hits the telnet port 23.

Look in the file /etc/services, there should be an entry for telnet:

telnet 23/tcp

This maps the port 23 to the word telnet. It is needed for the next file. Now look in the file /etc/inetd.conf and look for a line similar to:

#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

If there is a comment (#) before the line, then uncomment it and if the line is missing, then add it. If you make changes to this file you will have to send a HUP signal to the inetd.

kill -HUP <PID of inetd>

Then try to telnet to your machine.

Let us know if this helps.

Old 02-28-2001, 12:48 AM   #3
LQ Newbie
Registered: Feb 2001
Location: Drachten
Posts: 21

Rep: Reputation: 15
Perhaps you'll need to adjust your /etc/hosts.allow and /etc/hosts.deny files, these contain the IP/Names of the hosts who will be using your telnet server.
Old 02-28-2001, 10:54 AM   #4
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30

You also can NOT telnet as 'root' by default, so keep in mind you will need to use a regular user account or alter your security settings to allow 'root' to telnet (not a good practice)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Telnet server JCdude2525 Linux - Networking 6 09-19-2004 07:30 PM
telnet server chankunchan Linux - Networking 5 05-10-2004 07:48 PM
Telnet Server Roga Danar Linux - Newbie 7 07-14-2003 01:10 PM
telnet server? ReSync Linux - General 9 07-04-2002 04:06 PM
Telnet server? TheWoodchuck Linux - Networking 6 04-23-2002 07:01 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration