Date: Sat, 14 Sep 1996 21:25:57 -0600 From: Sean Kelly <kelly@fsl.noaa.gov> To: "Eric J. Schwertfeger" <ejs@bfd.com> Cc: Anthony Hill <ahill@interconnect.com.au>, questions@FreeBSD.org Subject: Re: bash default shell for root Message-ID: <323B7745.167EB0E7@fsl.noaa.gov> References: <Pine.BSI.3.94.960914183122.3018A-100000@harlie>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?323B7745.167EB0E7>