From owner-freebsd-questions Wed Feb 24 15:55: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 3EEC914BEF for ; Wed, 24 Feb 1999 15:55:02 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id TAA01277; Wed, 24 Feb 1999 19:03:35 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199902250003.TAA01277@cc942873-a.ewndsr1.nj.home.com> Subject: Re: csh or bash (newbie) In-Reply-To: <913B8C252194D2119BD500805F31817803047D@za12nt02.mweb.com> from Langa Kentane at "Feb 24, 99 04:27:38 pm" To: LKentane@mweb.com (Langa Kentane) Date: Wed, 24 Feb 1999 19:03:35 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Langa Kentane wrote, > The other day I asked for help on how to change the default shell for root. > Some told me that it was not a very good idea to change root's shell. > > Can someone explain to me why? Most frequently people have root (/) and usr (/usr) partitions and probably more. If you have some sort of disk problem and only can mount /, you will only have access to shells in /bin. In the standard FreeBSD distribution, sh and csh come in /bin, the others are ports that will end up in /usr/local/bin by default. Those will not be there if /usr is not mounted. In addition, since they are ports (and have a lot more bells and whistles), I think some people feel they are less secure than the standard sh and csh. If your want to be able to use bash or tcsh when you use root, standard FreeBSD has a 'Bourne Again User,' 'toor' (as in Bourne Again Shell, bash... ha... ha...). 'toor' is meant to be given a fancy shell, a neat-o custom environment, while 'root' keeps a low key, simple setup for emergency use. Anyway, those would be my motives and thoughts. HTH. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message