From owner-freebsd-questions Mon Oct 11 9: 3:35 1999 Delivered-To: freebsd-questions@freebsd.org Received: from earth.wnm.net (earth.wnm.net [208.246.240.243]) by hub.freebsd.org (Postfix) with ESMTP id C2DD01515A for ; Mon, 11 Oct 1999 09:03:33 -0700 (PDT) (envelope-from alex@wnm.net) Received: from localhost (alex@localhost) by earth.wnm.net (8.8.8/8.8.8) with ESMTP id LAA13418; Mon, 11 Oct 1999 11:03:34 -0500 (CDT) Date: Mon, 11 Oct 1999 11:03:34 -0500 (CDT) From: Alex Charalabidis To: Donald Cc: freebsd-questions Subject: Re: telnet In-Reply-To: <3801E360.CE6A14BA@eoe-magical.org> 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, Donald wrote: > Actualy it was to block telnet access not ftp, but thanks for the help, I > use all answers I get to > create a FAQ for later use. > Thanks. > > Sheldon Hearn wrote: > > > On Sun, 10 Oct 1999 18:17:19 MST, 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. > > > > For login access via telnet, a user needs a valid shell listed in > > /etc/shells . Ftpd also requires that a user's shell be a valid shell in > > /etc/shells . So what do you do? :-) > > Set their shell to /usr/bin/false and add it to /etc/shells. -ac -- Alex Charalabidis WebNet Memphis (901) 432-6000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message