[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Moving telnet port around?



On Wed, 6 Jun 2001, [iso-8859-1] José Luis Gómez Dans wrote:

> 	Just a quick question that I don't have time to investigate...
> How can I tell inetd to have telnet on some other port !=23? I want to
> have it on one of the higher ports (>9000). This is in RH 6.2 (or was
> 7.0?)

Telnet's one of the inetd.conf things, so changing the /etc/services entry
will work (although is incredibly not recommended).

Better thing is to add an entry, such as

mytelnet	6012/tcp
mytelnet	6012/udp

And then modify /etc/inetd.conf to change the line that has the telnet
service (telnet at the beginning of the line) to have 'mytelnet' at the
beginning of the line.

Very simple.  HTH.


-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer
mjp16@ieee.uow.edu.au

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.