Date: Wed, 27 Aug 2003 19:00:15 +0200 From: David Landgren <david@landgren.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: no root login after changing shell Message-ID: <3F4CE39F.4030509@landgren.net> In-Reply-To: <000001c36ca9$70c223b0$8b01a8c0@notebook> References: <000001c36ca9$70c223b0$8b01a8c0@notebook>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F4CE39F.4030509>