From owner-freebsd-questions Sat Sep 14 20:26:19 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA26010 for questions-outgoing; Sat, 14 Sep 1996 20:26:19 -0700 (PDT) Received: from rosemary.fsl.noaa.gov (rosemary.fsl.noaa.gov [137.75.8.41]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA26005 for ; Sat, 14 Sep 1996 20:26:15 -0700 (PDT) Received: from rosemary.fsl.noaa.gov (localhost [127.0.0.1]) by rosemary.fsl.noaa.gov (8.7.5/8.6.9) with SMTP id VAA00664; Sat, 14 Sep 1996 21:25:57 -0600 (MDT) Message-ID: <323B7745.167EB0E7@fsl.noaa.gov> Date: Sat, 14 Sep 1996 21:25:57 -0600 From: Sean Kelly Organization: NOAA Forecast Systems Laboratory X-Mailer: Mozilla 3.0b6Gold (X11; I; FreeBSD 2.1.5-RELEASE i386) MIME-Version: 1.0 To: "Eric J. Schwertfeger" CC: Anthony Hill , questions@FreeBSD.org Subject: Re: bash default shell for root References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Eric J. Schwertfeger wrote: > On Sun, 15 Sep 1996, Anthony Hill wrote: > > Are there any strong reasons why I should not set root's default shell to > > bash, > Yes. root's shell needs to be a statically linked shell in /bin for > disaster recovery. Indeed. Plus, you shouldn't be logging in as root; you should use the "su" command to gain root privileges as needed. And furthermore, "su -m" is a nice alias for su: it maintains the current environment and runs a root shell using your personal account's login shell, which, if it's bash, is exactly what you want. -- Sean Kelly NOAA Forecast Systems Laboratory Boulder Colorado USA