From owner-freebsd-questions Thu Oct 10 7:20:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3287437B401 for ; Thu, 10 Oct 2002 07:20:38 -0700 (PDT) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11FF043EB1 for ; Thu, 10 Oct 2002 07:20:37 -0700 (PDT) (envelope-from Petri.Riihikallio@Metis.fi) Received: from [192.168.0.2] ([212.90.71.47]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id g9AEJuZ27145; Thu, 10 Oct 2002 17:19:56 +0300 (EETDST) Mime-Version: 1.0 X-Sender: metis@pop.clinet.fi Message-Id: In-Reply-To: <20021010132604.GA82681@freepuppy.bellavista.cz> References: <20021010132604.GA82681@freepuppy.bellavista.cz> Date: Thu, 10 Oct 2002 17:19:52 +0300 To: Roman Neuhauser From: Petri Riihikallio Subject: Re: Root shell [was: How to create another account with root privileges?] Cc: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I have been using bash for root shell some time now without noticing >> any problems. My bash is statically linked and I have moved it to >> /bin. >> >> What kind of problems should I expect? > > in this case probably none. the warning (sh|c)ould be generalized to > "never change root's shell to one that is not completely contained > in the root fs". Thanks for the assurance! I was worried there would be some script that runs root's login shell for some weird reason. Bash apparently isn't a drop in replacement for sh, as I was lead to believe. -- Cheers, Petri Metis / Petri Riihikallio GSM: +358 400 505 939 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message