From owner-freebsd-questions Tue May 11 5:12:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from srv1.thuntek.net (srv1.thuntek.net [206.206.98.18]) by hub.freebsd.org (Postfix) with ESMTP id 1A8E614F37 for ; Tue, 11 May 1999 05:12:19 -0700 (PDT) (envelope-from dwilde1@thuntek.net) Received: from thuntek.net (abq-054.thuntek.net [207.66.52.54]) by srv1.thuntek.net (8.9.1/8.6.12TNT1.0) with ESMTP id GAA19433; Tue, 11 May 1999 06:11:55 -0600 (MDT) Message-ID: <37381DF2.8B19E36@thuntek.net> Date: Tue, 11 May 1999 06:09:22 -0600 From: Donald Wilde X-Mailer: Mozilla 4.08 [en] (X11; I; FreeBSD 3.1-STABLE i386) MIME-Version: 1.0 To: Todd Backman Cc: "James A. Mutter" , phrotos@email.com, freebsd-questions@FreeBSD.ORG Subject: Re: How to change the shell? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Todd Backman wrote: > > I am just curious as to why it would be a bad idea to change root's shell > to bash... (there are not too many exploits out there for bash) > > Thanks. > > On Tue, 11 May 1999, James A. Mutter wrote: > > > Be careful _not_ to change roots shell to bash, this is regarded as a > > Bad Idea. > > > The only problem with this is that if the machine can't mount your disks and you need to work in single-user mode, bash won't run. csh and sh are in the root partition /, so they're available. If the machine can't load bash for you, it will fall back to sh, so I've never had a problem doing the simple things I need to do in SU mode. I find that the benefits of having shell consistency far outweigh the downside. I've got enough to learn in this lifetime without having to deal with csh and vi too! -- Don Wilde "Bringing the Internet to everyone!" Wilde Media 1380 Rio Rancho Blvd. SE #117 voice: 505-771-0709 Rio Rancho, New Mexico 87124 e-mail: dwilde1@thuntek.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message