From owner-freebsd-questions Tue Dec 12 12:57:48 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 12 12:57:46 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mail8.sc.rr.com (fe8.southeast.rr.com [24.93.67.55]) by hub.freebsd.org (Postfix) with ESMTP id C163137B402 for ; Tue, 12 Dec 2000 12:57:45 -0800 (PST) Received: from sc.rr.com ([24.88.100.215]) by mail8.sc.rr.com with Microsoft SMTPSVC(5.5.1877.537.53); Tue, 12 Dec 2000 15:56:18 -0500 Message-ID: <3A369F4C.C3FACD17@sc.rr.com> Date: Tue, 12 Dec 2000 15:57:32 -0600 From: "Donald J. Maddox" Reply-To: dmaddox@sc.rr.com X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Doug Barton Cc: 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 I really wish you would elaborate on these situations you allude to. I'm not trying to argue with you. I'm trying to learn something here :) 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