From owner-freebsd-questions Thu May 27 11:25:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hecate.webcom.com (hecate.webcom.com [209.1.28.39]) by hub.freebsd.org (Postfix) with ESMTP id 2F59914F2C for ; Thu, 27 May 1999 11:25:15 -0700 (PDT) (envelope-from graeme@echidna.com) Received: from kigal.webcom.com (kigal.webcom.com [209.1.28.57]) by hecate.webcom.com (8.9.1/8.9.1) with SMTP id MAA05704; Thu, 27 May 1999 12:24:42 -0700 Received: from [204.143.69.53] by inanna.webcom.com (WebCom SMTP 1.2.1) with SMTP id 34502508; Thu May 27 11:20 PDT 1999 Message-Id: <374DB810.4111@echidna.com> Date: Thu, 27 May 1999 14:24:32 -0700 From: Graeme Tait Organization: Echidna X-Mailer: Mozilla 2.02 (Win16; I) Mime-Version: 1.0 To: Darryl Okahata Cc: freebsd-questions@freebsd.org Subject: Re: why we don't mess with root's shell: Re: Need help withRoot shell? References: <199905271738.KAA14975@mina.sr.hp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Darryl Okahata wrote: > > Pete Vanderburgh wrote: > > > Just for the record, I am currently running FreeBSD 3.1 Stable on a > > Pentium 133, using IceWm for X-Windows, and yes, my root shell is bash. > > Perhaps the biggest issue with changing the root shell is that > whatever you use, it must be on the root ("/") partition. If you follow > the recommended guidelines (recommended by the install routines, that > is), "/usr" is a separate partition. That means that > "/usr/local/bin/bash" (for example) is on a partition different that > "/". This will cause problems if you try to login as root and the /usr > partition is not mounted; since /usr is not mounted, /usr/local/bin/bash > doesn't exist, and you won't be able to login. Correct me if I'm wrong, but if /usr won't mount (as in a filesystem problem), you will have a *lot* more problems than finding bash - for example, getty, named and inetd won't run. I believe in this case, you will have to resort to single user mode, in which case there is NO problem with bash being the default root shell, as with FreeBSD, you can choose sh (it's the default choice) when starting in single user mode. -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message