From owner-freebsd-questions Mon Mar 1 17:30:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from luke.cpl.net (luke.cpl.net [209.150.92.68]) by hub.freebsd.org (Postfix) with ESMTP id 58CDF153AD for ; Mon, 1 Mar 1999 17:29:39 -0800 (PST) (envelope-from shawn@luke.cpl.net) Received: (from shawn@localhost) by luke.cpl.net (8.8.8/8.8.8) id RAA10635; Mon, 1 Mar 1999 17:30:46 -0800 (PST) Message-ID: <19990301173046.A5177@cpl.net> Date: Mon, 1 Mar 1999 17:30:46 -0800 From: Shawn Ramsey To: "Daniel J. Wharton" , freebsd-questions@FreeBSD.ORG Subject: Re: Disabling Telnet References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: ; from Daniel J. Wharton on Mon, Mar 01, 1999 at 05:25:49PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I was wondering if anyone could tell me how I can prevent users from > telneting in without disabling FTP access as well. I want people to be > able to FTP in and update their websites, but not be able to TELNET in. > > I already tried setting their shell to /sbin/nologin, but that disables > FTP access as well. Thank you very much in advance for any advice. Add : /sbin/nologin to the file /etc/shells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message