Subject: Re: moving telnet to another port
To: None <joe@laffeycomputer.com>
From: Erik E. Fair <fair@clock.org>
List: port-mac68k
Date: 11/06/1998 02:21:41
To "move" telnet service to another port:

1. add a new service to /etc/services, e.g.

foo	2300/tcp

2. edit /etc/inetd.conf to reference the new service, and comment out the
old telnetd reference, e.g.

#telnet  stream  tcp     nowait  root    /usr/libexec/telnetd    telnetd
foo      stream  tcp     nowait  root    /usr/libexec/telnetd    telnetd

3. send signal 1 (SIGHUP) to inetd:

kill -1 `cat /var/run/inetd.pid`

boom, you are done. Your system is no more secure or insecure than it was
before.

	Erik <fair@clock.org>