From owner-freebsd-stable Mon Jan 7 23: 8:10 2002 Delivered-To: freebsd-stable@freebsd.org Received: from carme.recalldesign.com (carme.recalldesign.com [203.15.93.5]) by hub.freebsd.org (Postfix) with ESMTP id E971E37B41A for ; Mon, 7 Jan 2002 23:08:05 -0800 (PST) Received: from io.internal.recalldesign.com (mail.internal.recalldesign.com [203.15.93.150]) by carme.recalldesign.com (8.11.6/8.11.6) with ESMTP id g0870me56252; Tue, 8 Jan 2002 17:30:48 +1030 (CST) (envelope-from mike@vee.net) Received: from vee.net (polarlander.internal.recalldesign.com [203.15.93.252]) by io.internal.recalldesign.com (8.11.6/8.11.6) with ESMTP id g08783J19482; Tue, 8 Jan 2002 17:38:03 +1030 (CST) (envelope-from mike@vee.net) Message-ID: <3C3A9AD3.1090803@vee.net> Date: Tue, 08 Jan 2002 17:38:03 +1030 From: Michael Gratton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020106 X-Accept-Language: en-au, en-gb, en MIME-Version: 1.0 To: pjklist@ekahuna.com Cc: stable@FreeBSD.ORG Subject: Re: Using bash as default shell for root References: <3C3A18FC.13616.24E52F@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Philip J. Koenig wrote: > > Statically linking bash, copying it to /bin and > updating /etc/shells solves the 1st problem, but it won't get updated > as the rest of the system (or the bash port) does. Perhaps you could build the port with "PREFIX=/" (and a few other bits of fine tuning to ensure it doesn't mess up things around "/" too much). I guess the question is, if you're installing into /bin, do you need another version in /usr/local/bin? Just install it once with the different prefix and you should be fine. > And I wasn't sure > there were any other issues to using bash as root's default shell. It is apparently incompatible with sh in a few areas, but I've never run into any problems using it for day-to-day work as root. I'd suggest you would probably be safe using it as the default shell, IMHO, of course. 8) Mike. -- Mike Gratton Leader in leachate production and transmission since 1976. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message