From owner-freebsd-questions Wed Dec 13 7:50:37 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 13 07:50:35 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from apollo.ocsny.com (apollo.ocsny.com [204.107.76.2]) by hub.freebsd.org (Postfix) with ESMTP id BF20637B400 for ; Wed, 13 Dec 2000 07:50:34 -0800 (PST) Received: from ocsinternet.com (fw234.ocsny.com [204.107.76.234]) by apollo.ocsny.com (8.9.2/8.9.3) with ESMTP id KAA93789; Wed, 13 Dec 2000 10:49:59 -0500 (EST) Message-ID: <3A379A60.1F0391F0@ocsinternet.com> Date: Wed, 13 Dec 2000 10:48:49 -0500 From: mikel X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: Doug Barton Cc: "Donald J . Maddox" , Daniel Bye , "'Cliff Sarginson'" , questions@FreeBSD.ORG Subject: Re: Root and the C 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 Yes this is sound advice...I agree with doug use you .profile or .login for shell changes... Doug Barton wrote: > On Tue, 12 Dec 2000, Donald J . Maddox wrote: > > > While this is obviously a good policy if you are administering many > > different platforms, it really doesn't matter that much on FreeBSD, > > does it? On FreeBSD, at entry to single-user mode, you are prompted > > for the shell path, and it always defaults to /bin/sh, right? Where > > is the great danger here? > > In not realizing that there are times and places where single user > mode is not available. I will restate my point one final time, because > frankly I have no idea what posessed me to enter into this discussion > again, since I know better. > > While YOU may never face a situation where you can't easily > recover from a borked shell, the BEST practice is to leave your > shells, for all of your accounts set to either /bin/sh or /bin/csh (i.e., > one of the shells that is built with the system) and use either .profile > or .login to exec your preferred shell if it is available. Less paranoid > solutions may very well work for you, however the above solution is the > safest, both on FreeBSD and on other platforms. > > Doug > -- > So what I want to know is, where does the RED brick road go? > > Do YOU Yahoo!? > > 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