From owner-freebsd-questions Sat May 25 6:22:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tninet.se (sheridan.tninet.se [195.100.94.102]) by hub.freebsd.org (Postfix) with ESMTP id 8164E37B40B for ; Sat, 25 May 2002 06:22:38 -0700 (PDT) Received: from cs.umu.se (h121n1c1o1023.bredband.skanova.com [213.64.164.121]) by sheridan.tninet.se (BMR ErlangTM/OTP 3.0) with ESMTP id 731018.332909.1022.0s813927sheridan for ; Sat, 25 May 2002 15:21:49 +0200 Message-ID: <3CEF901D.3B7570A@cs.umu.se> Date: Sat, 25 May 2002 15:22:37 +0200 From: Paul Everlund X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: sv,en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: FTP server, telnetd and shells (fixed) References: <3CEF8A4A.70062684@cs.umu.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Paul Everlund wrote: > > I've set up an FTP server (proftpd) and do not want those > who have an account on it to be able to login via telnet. > > How can this best be done? It seems like the FTP server > needs a shell, as /nonexistent do not work. And when a > user have a shell, he/she can login via telnet. > > The solution should permitt adding and removing users > easily. Hey stoopid! Tell your one braincell to put /sbin/nologin into /etc/shells, then do vipw and change the shell entry in the password file to /sbin/nologin. Now it should work! ---- And it did! Thanks Paul for your great tip! :-) Seems like Google, with the correct search phrase is a good friend. /Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message