From owner-freebsd-questions Tue Jul 30 14: 6:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C11737B400 for ; Tue, 30 Jul 2002 14:06:49 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02BEF43E3B for ; Tue, 30 Jul 2002 14:06:49 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id OAA20920; Tue, 30 Jul 2002 14:06:43 -0700 Message-ID: <3D46FFE1.3030200@owt.com> Date: Tue, 30 Jul 2002 14:06:41 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Phil Gates Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ftp only login References: <002801c2380d$14408c20$5d7e880a@zoomtown.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Phil Gates wrote: > I need to allow a user to login to ftp but not login in an other way. > Does anybody know how I can do this. I was told to change the shell to > some file such as /dev/null so the user would have no shell to login > to. I changed the /etc/passwd file to do this. When I try to login I > was still able to login., do I need to change any other files? > > Or is there a different way to keep a user from only login in as a ftp > client. ? Did you use vipw or an editor and then forgot to upgrade the password database. If you didn't, use vipw and replace a letter with the same letter and exit. This way you will get used to using vipw to update a password. Kent > > > > Thanks > > > > Phil Gates > > email : > > p_gates@fuse.net > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message