Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 1997 14:39:29 +1100 (EST)
From:      Anthony Hill <ahill@interconnect.com.au>
To:        Nick Liu <nickliu@value.net>
Cc:        questions@freebsd.org
Subject:   Re: How to restrict users from telneting in?
Message-ID:  <Pine.BSI.3.91.970117141033.14902A-100000@tulpi.interconnect.com.au>
In-Reply-To: <Pine.BSI.3.95.970115152550.20529A-100000@value.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Jan 1997, Nick Liu wrote:

> 
> I'd like to restrict users from telneting into my server.  Is there anyway
> in doing that?
> 
> I think I've seen the discussion some where, but I couldn't remember the
> place.
> 
> If you know, please cc me.

If you dont want ANYONE to telnet into your system then you should 
comment the telnet line out of /etc/inetd.conf, then restart the inet 
process will a 'kill -HUP "the inetd process id"'. If you still want 
people on your local network to be able to telnet in, the two traditional 
methods have been to use tcpwrappers, or a filter package. Tcpwappers 
seems to be declining in popularity these days, and I would recommend a 
filter package - specificaly IPfilter, although ipfw seems popular too.

You may also want to look at ssh (secure shell) which amongst other 
things replaces the functionality of telnet with an public/private 
key encrypted session. (very cool, and quite popular.)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.91.970117141033.14902A-100000>