From owner-freebsd-questions Mon Oct 11 10:18:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from malkav.snowmoon.com (machine-126-237.cdcsd.k12.ny.us [208.20.126.237]) by hub.freebsd.org (Postfix) with SMTP id 4FF2514EF4 for ; Mon, 11 Oct 1999 10:18:47 -0700 (PDT) (envelope-from jaime@malkav.snowmoon.com) Received: (qmail 52196 invoked by uid 1001); 11 Oct 1999 17:18:46 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 11 Oct 1999 17:18:46 -0000 Date: Mon, 11 Oct 1999 13:18:46 -0400 (EDT) From: Jaime Kikpole To: Marc Schneiders Cc: Donald , freebsd-questions Subject: Re: telnet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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