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

Re: telnet



Richard Rager wrote:
> 
> 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.
> >
> 
>    I do not know if is a command but this will work.
> 
> edit /etc/inetd.conf
> 
> put a # if front of this line:
> 
> telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd
> 
> then type:
> 
> /etc/rc.d/init.d/inet stop
> /etc/rc.d/init.d/inet start
> 
> Enjoy,
> 
> Richard
> 
===================================
I'm new, but can't you just put an entry in the /etc/hosts.deny file to
exclude those IPs you don't want accessing your system?  I put ALL: ALL
in mine, so that no one can log in.  If this is *not* all you'd have to
do, I'd sure like to learn more as well..
Regards/Chip Rose./ncrose exis net
===================================



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