Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 2004 17:53:40 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Randy Pratt <rpratt1950@earthlink.net>
Cc:        freebsd-qa@freebsd.org
Subject:   Re: 4.11-RC1: Setting bash as user default shell
Message-ID:  <20041230155340.GA795@straylight.m.ringlet.net>
In-Reply-To: <20041230104848.114b267a.rpratt1950@earthlink.net>
References:  <20041230104848.114b267a.rpratt1950@earthlink.net>

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

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 30, 2004 at 10:48:48AM -0500, Randy Pratt wrote:
> I did a fresh install of 4.11-RC1 on an older box:
>=20
> FreeBSD dell.weeble.com 4.11-RC1 FreeBSD 4.11-RC1 #0: Fri Dec 17 16:47:15=
 GMT 2004
> root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>=20
> I was not able to set bash as the user's default shell during
> installation even though bash had been installed.  The message said
> that it was not a valid user shell.  I decided to leave it as
> /bin/sh to complete the installation.  I tried adding a new user
> after installation and setting the shell to
> /usr/local/bin/bash and a pop-up said:

Is bash (or rather, /usr/local/bin/bash) listed in your /etc/shells file?
If not, have you by any chance had the root filesystem mounted read-only
during the bash port/package installation?

Just adding /usr/local/bin/bash to /etc/shells should be enough to
allow you to use either chsh or sysinstall to set it as a user/root shell.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@cnsys.bg    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If I were you, who would be reading this sentence?

--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFB1CSD7Ri2jRYZRVMRAjFJAJ9e6/Qiq9lNDdHjQn++1xpzAM/s3wCfSr7r
qDq/q0HQ7/6dCm1evk4/GmU=
=Dvon
-----END PGP SIGNATURE-----

--0F1p//8PRICkK4MW--



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