Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 1999 11:13:06 +0000 (MEZ)
From:      Rainer M Duffner <Rainer.Duffner@surf24.de>
To:        Tim Dixon <tdixon@fwi.com>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: Change default shell
Message-ID:  <Marcel-1.46-1223111306-b49Zsav@duffner.surf24.de>
In-Reply-To: <Pine.BSF.4.10.9912221154350.1696-100000@tdixon.fwi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed 22 Dec, Tim Dixon wrote:
> Hi!
> 
> I've just gotten my FreeBSD 3.3 system running; I created a user account
> for myself a while back, but have decided I like bash better than sh and
> now I want to change my default shell to bash.

That's OK.

> I edited /etc/passwd so that the shell path at the end of my user's line
> reads /usr/share/bin/bash which is where bash is installed (I installed
> the package vi sysinstall), but it doesn't seem to be working.

That's correct.
Use chsh for that - and put bash into /etc/shells (I think), so that the
system can recognize it as a "legal" shell.

> I still
> get sh when I log in.

And be carefull when changing root's shell !

> Anybody know what I've done wrong?

Just a newbie-mistake ;-)
I happened to read about the chsh-command before I felt the urge to
change the shell ;-)


cheers,
Rainer
-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Rainer Duffner, E-Mail: duffner@fh-konstanz.de  |
|                &   Rainer.Duffner@surf24.de    |
|Fachhochschule Konstanz, Germany                |
|"What's a Network ?"  - Bill Gates, early 1980s |
|   WWW:http://www-stud.fh-konstanz.de/~duffner  |
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Marcel-1.46-1223111306-b49Zsav>