Depends a bit on your Linux distribution and version. A fairly generic
answer is this:

1. open /etc/inetd.conf and find the line that begins with "#telnet". Remove
the leading # (comment) character ... unless ther is already another telnet
line that is uncommented. If you have two to choose from, use the one that
calls tcpd (toward the right side), not the one that calls something else.

2. Make sure inetd is running. If it isn't, you can (as root) start it from
the keyboard, but for future boots, you'll need to change an rc script
appropriete to your distribution to start it as part of the boot process.

3. To get started, make sure the file /etc/hosts.deny is empty. (Later, you
may want to use this to provide security restrictions for your system -- see
"man 5 hosts_access" for details) but leave this until after you know you
have telnet working.

At this point, you should be able to telnet in by IP address, or by hostname
if you have translation by either DNS or a hosts file working right. If you
do this and run into problems, post again, describing what went wrong, and
including info on what distribution/version of Linux you are running.

At 03:46 PM 7/1/99 +0200, Terry lewis wrote:
>Hi
>What files do I have to edit to be able to telnet into a Linux box across
the network?
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA  94303-3603                       [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to