From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 10:04:31 2003 Return-Path: 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 1258016A4BF for ; Wed, 27 Aug 2003 10:04:30 -0700 (PDT) Received: from sferics.mongueurs.net (sferics.mongueurs.net [81.80.147.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id E53B943FF2 for ; Wed, 27 Aug 2003 10:04:27 -0700 (PDT) (envelope-from david@landgren.net) Received: from landgren.net (81-80-147-206.bpinet.com [81.80.147.206]) by sferics.mongueurs.net (Postfix) with ESMTP id 99242A96F for ; Wed, 27 Aug 2003 19:04:24 +0200 (CEST) Message-ID: <3F4CE39F.4030509@landgren.net> Date: Wed, 27 Aug 2003 19:00:15 +0200 From: David Landgren Organization: A thousand golden eyes are watching User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG References: <000001c36ca9$70c223b0$8b01a8c0@notebook> In-Reply-To: <000001c36ca9$70c223b0$8b01a8c0@notebook> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: no root login after changing shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 17:04:31 -0000 thomas may wrote: > Hi, > > i wanted to change the shell for user root to bash. This is not a good idea. You don't want to use a shell on a partition other than / (e.g. /usr, /usr/local) for root. If those partitions, or shared libraries like libc, get trashed, you are in a world of pain. Much better is to continue to use /bin/sh (or whatever other statically-linked shell takes your fancy) by default. Then, when you want the comfort of bash, all you have to do is run exec bash from the command line and voila! you're using bash. This is how all my servers are set up. 10 keystrokes is a small price to pay for peace of mind. David