From owner-freebsd-questions Wed Oct 4 3:22:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from boat.mail.pipex.net (our.mail.pipex.net [158.43.128.75]) by hub.freebsd.org (Postfix) with SMTP id DD1E637B66C for ; Wed, 4 Oct 2000 03:22:23 -0700 (PDT) Received: (qmail 29590 invoked from network); 4 Oct 2000 10:22:22 -0000 Received: from mailhost.puck.pipex.net (HELO mailhost.uk.internal) (194.130.147.54) by our.mail.pipex.net with SMTP; 4 Oct 2000 10:22:22 -0000 Received: (qmail 12278 invoked from network); 4 Oct 2000 10:22:22 -0000 Received: from camgate2.cam.uk.internal (172.31.6.21) by mailhost.uk.internal with SMTP; 4 Oct 2000 10:22:22 -0000 Received: by camgate2.cam.uk.internal with Internet Mail Service (5.5.2650.21) id ; Wed, 4 Oct 2000 11:21:27 +0100 Message-ID: From: Daniel Bye To: 'Robert Shea' , freebsd-questions@FreeBSD.ORG Subject: RE: I deleted my shell by mistake!! Date: Wed, 4 Oct 2000 11:16:23 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I think choice of root shell, like so many other things in this world, comes down to personal choice, with a mature and logical consideration of "the facts". On the machines where I alone have root access, I tend to use bash, coz I'm commfortable with it, and if I ever need to boot to single user, then FreeBSD will default to /bin/sh anyway. However, on machines where there are more than one root user, then I would leave it as the FreeBSD default, which is an intelligent choice. Anybody who then wants bash, can start bash from the command line. I have also heard several theories as to why one should not change the root shell. The almost universally recommended shells are sh or csh, because by default they live on /, and are static - so don't rely on libs installed elsewhere on the file system. Bash has a static compile option, and could therefore be used as a root shell and satisfy these various recommendations. However, why would you bother, when sh and csh are there anyway? That's me done. Dan > -----Original Message----- > From: Robert Shea [mailto:robert.shea@onlinecables.com] > Sent: Wednesday, October 04, 2000 2:25 AM > To: freebsd-questions@FreeBSD.ORG > Subject: Re: I deleted my shell by mistake!! > > > > > > > It's simple, someone with a lot more experiance than I had told me > > not to and I've never had these "oops i broke root's shell" > > embarassing moments. > > > > Now someone with a lot more experiance is telling you the same. > > > > Seriously, how difficult is it to type 'zsh' after su'ing to root? > > > > -- > > -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] > > "I have the heart of a child; I keep it in a jar on my desk." > > I agree... basically the thing with changing your root shell > is that no good > can come of it... and lots of bad can. > And besides... if you really feel the need to set your root > shell... odds > are you are using the root account way too much. (with rare exception) > > Robert Shea > "Ophilia you made me cry, guess that's why I learned to swim." > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message