Hi ming,
You comment the line noted as "telnet 23/tcp " in /etc/services file and reboot. Now nobody can telnet into ur machine.
If you want to do that without a reboot you have send a SIGHUP signal to inetd deamon. But I never tried this.
Hope this help,
take a look at tcp/ip wrappers. they allow you to allow or deny access to telnet (and other services) to one or more domains. It's easy to implement and configure and you don't have to make major changes to your system.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.