From owner-freebsd-stable Mon Jan 7 22:17:20 2002 Delivered-To: freebsd-stable@freebsd.org Received: from damnhippie.dyndns.org (12-253-177-2.client.attbi.com [12.253.177.2]) by hub.freebsd.org (Postfix) with ESMTP id 4E48337B419 for ; Mon, 7 Jan 2002 22:17:09 -0800 (PST) Received: from [172.22.42.2] (freelove.hippie.lan [172.22.42.2]) by damnhippie.dyndns.org (8.11.6/8.11.1) with ESMTP id g086H8u09017 for ; Mon, 7 Jan 2002 23:17:08 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630) Date: Mon, 07 Jan 2002 23:17:09 -0700 Subject: Re: Using bash as default shell for root From: Ian To: Message-ID: In-Reply-To: <3C3A18FC.13616.24E52F@localhost> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" 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 > > The main issue here was that bash traditionally isn't available in > single-user mode because /usr isn't mounted when root gets its first > shell prompt. 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. And I wasn't sure > there were any other issues to using bash as root's default shell. > (besides the fact that it's GPL, which is why it will probably never > become part of the base system) > I've been using bash as the login shell for root for years in freebsd, no problems. I don't see the point of messing with the toor user, I just use vipw and change root's shell to bash when I install on a new machine, it's part of my post-install tweak rituals. I don't worry about the single-user mode issue, since I've spent a total of maybe 10 minutes in single-user mode in the past 5 or 6 years (usually after forgetting to tweak /etc/fstab after swapping in new disk drives). -- Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message