From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 19:29:00 2005 Return-Path: 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 D7C9016A4CE for ; Mon, 25 Apr 2005 19:29:00 +0000 (GMT) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A05C043D1F for ; Mon, 25 Apr 2005 19:28:59 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out2.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Mon, 25 Apr 2005 20:29:37 +0100 Message-ID: <426D44FA.4030603@dial.pipex.com> Date: Mon, 25 Apr 2005 20:28:58 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7) Gecko/20040627 X-Accept-Language: en, en-us MIME-Version: 1.0 To: Olaf Stein References: <200504251808.j3PI86mY029746@defang10.net.ohio-state.edu> In-Reply-To: <200504251808.j3PI86mY029746@defang10.net.ohio-state.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Apr 2005 19:29:38.0014 (UTC) FILETIME=[1E951FE0:01C549CD] cc: freebsd-questions@freebsd.org Subject: Re: lock user to home directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 19:29:01 -0000 Olaf Stein wrote: >Does not work > >I changed the shell with chpass -s /usr/local/bin/bash -r or rbash >Chpass said that those are unvalid arguments but changed it anyway in >/etc/passwd >But user could not login anymore at all > >Any other ideas?? > > Did you install bash? What did chpass say? Did you use vipw which would check that you got the format correct? Information! Without it we have to be psychic to help you... --Alex