LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 02-26-2001, 10:39 PM   #1
captnroger
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, 10:59 PM   #2
crabboy
Moderator
 
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.

Gary
 
Old 02-28-2001, 01:48 AM   #3
DGTL_Magician
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, 11:54 AM   #4
KevinJ
Member
 
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
Telnet

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)
 
  


Reply


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 08:30 PM
telnet server chankunchan Linux - Networking 5 05-10-2004 08:48 PM
Telnet Server Roga Danar Linux - Newbie 7 07-14-2003 02:10 PM
telnet server? ReSync Linux - General 9 07-04-2002 05:06 PM
Telnet server? TheWoodchuck Linux - Networking 6 04-23-2002 08:01 AM


All times are GMT -5. The time now is 12:30 PM.

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