From owner-freebsd-doc@FreeBSD.ORG Fri Feb 25 10:59:19 2005 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2A0816A4CE; Fri, 25 Feb 2005 10:59:19 +0000 (GMT) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38CEF43D5E; Fri, 25 Feb 2005 10:59:16 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j1PAx5RY031265; Fri, 25 Feb 2005 12:59:05 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j1PAxBT9008671; Fri, 25 Feb 2005 12:59:11 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j1PAxBrt008670; Fri, 25 Feb 2005 12:59:11 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 25 Feb 2005 12:59:11 +0200 From: Giorgos Keramidas To: Randy Pratt Message-ID: <20050225105911.GE1215@orion.daedalusnetworks.priv> References: <200502231820.j1NIK7a6047107@freefall.freebsd.org> <20050223230852.181103f9.rpratt1950@earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050223230852.181103f9.rpratt1950@earthlink.net> cc: freebsd-doc@freebsd.org cc: bug-followup@freebsd.org Subject: Re: conf/75668: 4.11-RC1: /etc/shells missing /usr/local/bin/bash X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 10:59:20 -0000 On 2005-02-23 23:08, Randy Pratt wrote: >On Wed, 23 Feb 2005 18:20:07 GMT >Giorgos Keramidas wrote: >> State-Changed-From-To: open->closed >> State-Changed-By: keramida >> State-Changed-When: Wed Feb 23 18:18:45 GMT 2005 >> State-Changed-Why: >> The bash ports take care of updating /etc/shells at install >> and deinstall time. Something else is wrong with the setup >> of the machine that exhibited the problem. >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=75668 > > The problem exhibits itself during the initial installation of > the OS. Its also dependent on which bash is included on the > cdrom media. Some have bash and some have bash2. That is what > seems to determine what goes in /etc/shells. > > Its not readily apparent of what you need to enter for a user's > bash shell when creating a new user at installation with sysinstall. > If bash2 is what is included in the packages, then entering > "/usr/local/bin/bash" generates an error. > > In the Handbook, Figure 2-62. Add User Information, shows > /usr/local/bin/bash as the shell when bash2 was previously > added. In the past, this did work since both bash and bash2 > were in the /etc/shells. > > The 4.11-RELEASE is long past so it doesn't matter for that but > I think some small disconnect is there. I think we have to update the Handbook. I just deinstalled bash2 and installed it as a package (built locally, but that shouldn't matter). The package install/deinstall process correctly updates /etc/shells. This means that what seems like a mistake in the Handbook, is very probably just that: a bug of the Handbook (which should certainly be fixed).