Date: Mon, 20 Dec 2004 12:29:37 +0100 From: David Landgren <david@landgren.net> To: freebsd-questions@freebsd.org Subject: Re: bash - superuser Message-ID: <41C6B7A1.1090708@landgren.net> In-Reply-To: <41C6AC75.6020608@uol.com.br> References: <41C6AC75.6020608@uol.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
Giuliano Cardozo Medalha wrote: > Hi, > > I have a machine with FreeBSD 5.3 - release -p2. > > I have installed bash from ports. > > How is possible to use bash in root account ? > > Thanks a lot Don't. Leave /bin/sh as your shell. If you want to run bash as root, log in as usual and then run 'exec bash' to replace your current shell with bash. This is a basic rule of hygiene when working as root. You'll appreciate working this way when you lose your /usr partition one day... David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41C6B7A1.1090708>