According to Langa Kentane: While burning my CPU.
>
> How do I disable the telnet deamon coz I don't want users telnetting to the
> company mail server mail server.
I get the impression you dont quite understand a basic principle here.
By stopping the telnet daemon from running wont stop anyone telnetting to
port 25 which is the smtp port, it will only refuse connections on port 23.
If you wish to disable the telnet daemon just comment out the line;
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd
in /etc/inetd.conf and do; kill -HUP <pid of inetd>
That will not stop a remote host doing, 'telnet your_machine 25' which will
result in your smtp daemon replying like;
220 pa3gcu.ampr.org ESMTP Sendmail 8.8.7/8.8.5; Wed, 3 Feb 1999 11:54:39 GMT
Which realy does not matter because only valid smtp commands are valid, all
others will be answered as;
500 Command unrecognized: ""
Try it yourself, you can telnet to "any" port on a remote machine, (or even
your own) providing the machine has a daemon running on that port.
Take a look at /etc/services to see what services run on what port.
If you decide you dont want things running on your machine, just comment out
the entry in /etc/inetd.conf. Dont forget to send a -HUP signal to the
running 'inetd' process, otherwise the daemon will still keep running.
--
Regards Richard.
[EMAIL PROTECTED]