From owner-freebsd-questions Tue Oct 3 23:43:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from inconnu.isu.edu (inconnu.isu.edu [134.50.8.55]) by hub.freebsd.org (Postfix) with ESMTP id A544037B502 for ; Tue, 3 Oct 2000 23:43:11 -0700 (PDT) Received: from localhost (galt@localhost) by inconnu.isu.edu (8.9.3/8.9.3) with ESMTP id AAA28995; Wed, 4 Oct 2000 00:42:56 -0600 Date: Wed, 4 Oct 2000 00:42:55 -0600 (MDT) From: John Galt To: David Raistrick Cc: Matt Rudderham , Alfred Perlstein , Loren Koss , freebsd-questions@FreeBSD.ORG Subject: RE: I deleted my shell by mistake!! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My experience goes back to slackware--there most of the really important things for root are part shell script, and the shell they call is bash. The Linux Kernel configuration is almost all bash scripts, and if you change shells, you get problems (you get even more when you mv the shells around to compensate, but I was new...). THAT'S the reason not to change shells: shell choice is more hardwired that you think at first glance. Prior in this thread, someone mentioned bash as the FreeBSD shell-of-choice. That's wrong, the FreeBSD shell-of-choice is csh. Of course, my Slack experience of 5 yrs ago will probably not be repeated in the Linux/*BSDs of the present day, but you can never be too safe... On Tue, 3 Oct 2000, David Raistrick wrote: > On Tue, 3 Oct 2000, Matt Rudderham wrote: > > > >don't don't change root's shell! > > > Why should the root shell not be changed? I am also kind of new I guess. I > > > The theory that I have always heard about changing the root shell is not > to change it to something that is not based in / . > > The reasoning behind this is that if you lose your /usr (or > whatever) slice, you still have access to your root account. Of course, > I've never had a problem with this (mind you, I never managed to delete > the shell I was using whilst in multiuser mode...)since when you boot > single user, it /asks/ you what shell to use, and doesnt give a rats ass > what is in the master.passwd file..... > > > This is the only theory I've heard as to not changing your shell to a > shell not based off of /...(mind you, if you go deleting /bin/sh or > something, you're pretty much hosed all around..though i guess that does > leave you /bin/csh to use in single user to get things working after a > damn good bit of work...) > > > Anyway, I'd love to hear a sound reason why to never change your root > shell at all.. (I've never heard of that before, either...) > > And any more theories about not changing it to something off of /, if you > have them.;) > > ....david (100% tcsh since '89) > > -- > David Raistrick Digital Wireless Communications > davidr@dwcinet.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Customer: "I'm running Windows '98" Tech: "Yes." Customer: "My computer isn't working now." Tech: "Yes, you said that." Who is John Galt? galt@inconnu.isu.edu, that's who! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message