From owner-freebsd-questions Fri Jun 1 9: 8:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from trinity.magpage.com (trinity.magpage.com [216.155.0.8]) by hub.freebsd.org (Postfix) with ESMTP id 7E9C637B42C for ; Fri, 1 Jun 2001 09:08:50 -0700 (PDT) (envelope-from dfrazier@magpage.com) Received: from magpage.com (dfrazier@poomba.magpage.com [216.155.24.136]) by trinity.magpage.com (8.11.3/8.11.3) with ESMTP id f51G8lS00376; Fri, 1 Jun 2001 12:08:47 -0400 (EDT) Message-ID: <3B17BE0E.A65D7106@magpage.com> Date: Fri, 01 Jun 2001 12:08:46 -0400 From: Daniel Frazier X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Alex Dyas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: root shell References: <911D8F660DF6D411B61F00500462BA018B3A39@EXCHANGE> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-RRT-Status: UNKNOWN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alex Dyas wrote: > > As a side note, it is unadvisable to change root's default shell for a > number of reasons. There is a high probability that the shell you've used > instead (eg bash) resides on a partition other than the root partition > (/usr). In an emergency situation where you only have the root partition > mounted you won't have a shell to log in with. If you absolutely have to > use a shell other than the default your best bet is just to put up with > running it after you log in. > well, I've never considered that an issue since when going into single user mode there's always a prompt to "enter full path to shell or hit enter for /bin/sh" or something similar. Maybe it's not The Right Way but one of the first things I do when setting up a new box is to change root's shell to bash(using "chsh -s /usr/local/bin/bash" of course...). Just a personal preference but it's never presented any problems for me. -- ---------------------------------------------------------------------- Daniel Frazier Tel: 302-239-5900 Ext. 231 Systems Administrator Fax: 302-239-3909 MAGPAGE, We Power the Internet WWW: http://www.magpage.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin, Historical Review of Pennsylvania, 1759. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message