From owner-freebsd-stable Mon Jan 7 15:49:20 2002 Delivered-To: freebsd-stable@freebsd.org Received: from turtle.looksharp.net (cc360882-d.strhg1.mi.home.com [24.13.43.207]) by hub.freebsd.org (Postfix) with ESMTP id 3705437B416 for ; Mon, 7 Jan 2002 15:49:15 -0800 (PST) Received: by turtle.looksharp.net (Postfix, from userid 1003) id BEB633EBC; Mon, 7 Jan 2002 18:54:12 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by turtle.looksharp.net (Postfix) with ESMTP id BB93BBAA6; Mon, 7 Jan 2002 18:54:12 -0500 (EST) Date: Mon, 7 Jan 2002 18:54:12 -0500 (EST) From: "Brandon D. Valentine" To: Michael Gratton Cc: , Matthew Whelan , Subject: Re: Using bash as default shell for root In-Reply-To: <3C3A3211.4050307@vee.net> Message-ID: <20020107185321.N685-100000@turtle.looksharp.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 8 Jan 2002, Michael Gratton wrote: >Why don't you just use the "toor" user - the "Bourne-again super user"; >that is what it is there for. Set toor's shell to be bash and leav >root's shell alone. When you need to do any work as root, do a `su toor` >instead of just a `su`. When you're in single user mode, you'll default >to using root and you won't have any problems (apart from using a >non-bash shell for maintenance and emergency work). Better yet use 'su - toor' to avoid nasty environmental inheritance problems. Brandon D. Valentine -- "Iam mens praetrepidans avet vagari." - G. Valerius Catullus, Carmina, XLVI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message