From owner-freebsd-chat Thu Aug 14 20:55:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA04373 for chat-outgoing; Thu, 14 Aug 1997 20:55:45 -0700 (PDT) Received: from ethanol.gnu.ai.mit.edu (joelh@ethanol.gnu.ai.mit.edu [128.52.46.64]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA04368 for ; Thu, 14 Aug 1997 20:55:43 -0700 (PDT) Received: by ethanol.gnu.ai.mit.edu (8.8.5/8.6.12GNU) id XAA07712; Thu, 14 Aug 1997 23:55:15 -0400 Date: Thu, 14 Aug 1997 23:55:15 -0400 Message-Id: <199708150355.XAA07712@ethanol.gnu.ai.mit.edu> To: jonc@pinnacle.co.nz CC: andrsn@andrsn.stanford.edu, Studded@dal.net, FreeBSD-chat@FreeBSD.ORG In-reply-to: (message from Jonathan Chen on Thu, 14 Aug 1997 12:27:01 +1200 (NZST)) Subject: Re: Needed: Info on shells and script writing From: Joel Ray Holveck Reply-to: joelh@gnu.ai.mit.edu Sender: owner-freebsd-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > >Note: Do not change root's shell. It must be either sh or csh, because > > >otherwise you may not have a working shell when the system puts you > > >into single user mode. > Is this true? I've got tcsh as my root's shell, and when I `shutdown' > into single user, FreeBSD prompts me for the shell to use (in which > case I accept the default `sh'). Whenever you write, remember your target audience... in this case, rank newbies. Let's give them as few unnecessary prompts as possible. -- Second law of programming: Anything that can go wrong wi sendmail: segmentation violation -- core dumped