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

Re: telnet



On Sat, 5 Sep 1998, Gary Neff wrote:

> I recently did something very stupid and deleted nobody from my user list
> and of course had to rebuild entire linux box (ver 5 ) anyway I did this
> because I am getting a lot of attempts at login from remote locations and
> this is very odd as I utilize a dynamic ip for a small LAN in my house
> (about 4 computers). Anyway to my question in one of my earlier posts
> someone told me how to turn off remote access and I lost the letter can
> anyone please share the command so I can shut down the telnet. I do not call
> in remote and am amazed at all the folks who want to telnet to my little
> LAN.

In /etc/inetd.conf comment out the following line:
telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd

Just put a "#" in front of it (without the quotes).

Then -HUP the inet process or go to /etc/rc.d/init.d and type "./inet
restart" (without the quotes).

That'll do it!

--                         
Chuck Mead, CEO - Moongroup Consulting, Inc.
<chuck moongroup com>
http://www.moongroup.com/
http://www.moongroup.com/unix/
http://www.gnu-man.org

No amount of careful planning will ever replace dumb luck.



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