Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 13:18:46 -0400 (EDT)
From:      Jaime Kikpole <jaime@malkav.snowmoon.com>
To:        Marc Schneiders <marc@oldserver.demon.nl>
Cc:        Donald <druid@eoe-magical.org>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: telnet
Message-ID:  <Pine.BSF.4.10.9910111316380.52106-100000@malkav.snowmoon.com>
In-Reply-To: <Pine.BSF.4.10.9910110320490.12357-100000@propro.oldserver.demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Oct 1999, Marc Schneiders wrote:
> On Sun, 10 Oct 1999, Donald wrote:
> > I want to block telnet access but not ftp access, how do I change the
> > login shell
> > or what do I need to do to get this to work.
> > Thanks.
> Comment the one you do not want out in /etc/inetd.conf and it won't be
> run next time inetd is started.

	Or, if you only want to do this on some accounts but not all, set
their login shell to /usr/bin/false.  If you use this method, don't forget
to add /usr/bin/false to the /etc/shells file.  I use this system on an
email and web server in order to keep users off of it and still allow FTP
uploading of web pages.

						Jaime



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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