Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2002 18:54:12 -0500 (EST)
From:      "Brandon D. Valentine" <bandix@looksharp.net>
To:        Michael Gratton <mike@vee.net>
Cc:        <pjklist@ekahuna.com>, Matthew Whelan <muttley@gotadsl.co.uk>, <stable@FreeBSD.ORG>
Subject:   Re: Using bash as default shell for root
Message-ID:  <20020107185321.N685-100000@turtle.looksharp.net>
In-Reply-To: <3C3A3211.4050307@vee.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020107185321.N685-100000>