Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Nov 2002 09:27:27 -0200
From:      Marcio Merlone <mm@surf.com.br>
To:        xcas@cox.net
Cc:        Naydoe Maung <nyingelay@hotpop.com>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: BASH shell
Message-ID:  <3DC8FC9F.4000908@surf.com.br>
References:  <20021105071913.Y19010-100000@bsd-unix.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DC8FC9F.4000908>