From owner-freebsd-stable Mon Jan 7 14:55:40 2002 Delivered-To: freebsd-stable@freebsd.org Received: from empty1.ekahuna.com (empty1.ekahuna.com [198.144.200.196]) by hub.freebsd.org (Postfix) with ESMTP id 1C36137B41B for ; Mon, 7 Jan 2002 14:55:37 -0800 (PST) Received: from pc-02 (pc02.ekahuna.com [198.144.200.197]) by empty1.ekahuna.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com; Mon, 7 Jan 2002 14:55:32 -0800 From: "Philip J. Koenig" Organization: The Electric Kahuna Organization To: Matthew Whelan Date: Mon, 7 Jan 2002 14:55:34 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Using bash as default shell for root Reply-To: pjklist@ekahuna.com Cc: stable@FreeBSD.ORG Message-ID: <3C39B6E6.26335.4C2017@localhost> References: <3C3857BF.14569.1674F2@localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) 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 7 Jan 2002, at 2:12, Matthew Whelan boldly uttered: > >Hm, you're right.. I do recall this discussion coming up on a few > >occasions (it's also discussed either in the FreeBSD manual or Greg > >Lehey's book) and the default for bash wasn't static.. and I don't > >see that on the bash1 port, so hm.. dunno, maybe I'm just not up to > >date on this. You did manually copy it to /bin, right? Every time > >I've installed the bash package or port it goes in /usr/local/bin. > > Err, yes, I'd forgotten I'd done that, but pkg_info -L says I must have done > :) > > >Interestingly, a box where the bash binary package was installed > >during initial install of 4.2-RELEASE does not list bash in > >/etc/shells. My latest 4.5-PRE box does list it there. > > The packing list now contains an instruction to add the relevant line to > /etc/shells. I have a vague memory of hacking this to point at /bin. Which brings me to: can anyone provide any insight as to what possible problems one might encounter if one were to do just this: statically compile bash, put it in /bin, make it root's default shell, and use it during single-user mode? I'd like to standardize on bash to keep things consistent among my freebsd logins. (and between freebsd and linux) But not if it will cause problems in freebsd. Phil (normally I'd start this thread in QUESTIONS, but since it already started here I thought I'd continue in the same list) -- Philip J. Koenig pjklist@ekahuna.com Electric Kahuna Systems -- Computers & Communications for the New Millenium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message