Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2001 19:52:12 -0700 (PDT)
From:      Linh Pham <lplist@closedsrc.org>
To:        julian <jsteinberg@maverickssurf.com>
Cc:        <questions@freebsd.org>, <shanslyvia@mediaone.net>
Subject:   Re: Shell Q
Message-ID:  <Pine.BSF.4.33.0105191950550.30557-100000@q.closedsrc.org>
In-Reply-To: <001601c0e0ef$aca601a0$0100a8c0@piii>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2001-05-19, julian scribbled:

# Why after I have built pdksh and bash and then at # I type pdksh or bash
# when I do
#
# echo $SHELL I get /bin/csh?
#
# This is all done as root.
#
# Even set SHELL=pdksh or whatever I stil get /bin/csh from echo even though
# the shell appears to change to the newly designated one?

To change your shell, run:

chsh -s /path/to/shell username

You may want to make sure that the shells that you compiled and
installed are also listed in /etc/shells for chsh to work (properly).

-- 
Linh Pham
[lplist@closedsrc.org]

// 404b - Brain not found


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?Pine.BSF.4.33.0105191950550.30557-100000>