From owner-freebsd-questions Wed Jan 22 17:50:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA18840 for questions-outgoing; Wed, 22 Jan 1997 17:50:26 -0800 (PST) Received: from narcissus.ml.org (brosenga.st.pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA18835 for ; Wed, 22 Jan 1997 17:50:23 -0800 (PST) Received: (from ben@localhost) by narcissus.ml.org (8.7.5/8.7.3) id RAA01304; Wed, 22 Jan 1997 17:50:13 -0800 (PST) Date: Wed, 22 Jan 1997 17:50:13 -0800 (PST) From: Snob Art Genre To: Nessus cc: gippolit@ccsmtp2.eccs.com, questions@freebsd.org Subject: Re: How can I chang my root shell In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 22 Jan 1997, Nessus wrote: > On Wed, 22 Jan 1997 gippolit@ccsmtp2.eccs.com wrote: > > =) How do I change my root shell > =) > =) > You don't want to do this. Login as a regular user and su to root > instead, it will keep the original user's shell (assuming you don't use > the -l option) > The reason for this: > Assume you change root's shell to /usr/local/bin/tcsh, then later on, > something breaks in your rc, /usr won't be mounted and root won't have a > shell. This is not correct. When the system boots to single-user mode, it prompts for a shell, defaulting to sh. > :: Jason Andresen :. . . . . . . . . : Running FreeBSD and :: Ben The views expressed above are not those of the Worker's Compensation Board of Queensland, Australia.