From owner-freebsd-questions Wed Nov 6 3:27:28 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 D5A7837B401 for ; Wed, 6 Nov 2002 03:27:26 -0800 (PST) Received: from koala.dialdata.com.br (koala.dialdata.com.br [200.219.192.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0511B43E4A for ; Wed, 6 Nov 2002 03:27:26 -0800 (PST) (envelope-from mm@surf.com.br) Received: from surf.com.br (merlone.dialdata.com.br [200.219.192.173]) by koala.dialdata.com.br (Postfix) with ESMTP id E28AC10419; Wed, 6 Nov 2002 09:27:11 -0200 (EDT) Message-ID: <3DC8FC9F.4000908@surf.com.br> Date: Wed, 06 Nov 2002 09:27:27 -0200 From: Marcio Merlone User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: pt-br, en-us, en MIME-Version: 1.0 To: xcas@cox.net Cc: Naydoe Maung , FreeBSD Questions Subject: Re: BASH shell References: <20021105071913.Y19010-100000@bsd-unix.org> 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 xcas@cox.net wrote: > On Tue, 5 Nov 2002, Naydoe Maung wrote: >>how would i go about fixing the shell so that it will always start with >>"bash"? thanks in advance. > > if bash is installed > chsh -s /usr/local/bin/bash > else install it from > /usr/ports/shells/bash2 > or > /usr/ports/shells/bash1 > Once installed, you must make it as default shell for the desired user. You may do as follows: pw usermod foobar -s /usr/local/bin/bash where foobar is the username and you must be root to issue this. [ ]'s -- Marcio Merlone To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message