[SunHELP] root shell
Gregory Leblanc
sunhelp at sunhelp.org
Tue Oct 30 09:46:26 CST 2001
On Tue, 2001-10-30 at 13:41, Will Mc Donald wrote:
> Changing root's shell is a Bad Thing [tm].
> e.g
> http://www.sunhelp.org/pipermail/sunhelp/2001-April/009837.html
>
> You should always leave /sbin/sh as root's default shell, it's statically
> linked and therefore doesn't rely on any external libraries to function
> correctly. Meaning you still have a fully functional shell in the event of,
> for instance, /usr not being mounted succesfully on boot.
It's NOT a bad thing to change root's shell. It is only a bad thing if
you change it to a shell that isn't statically linked. I tend to keep a
statically linked copy of some functional bourne-style shell around for
emergency recovery, as I really hate /sbin/sh.
Greg
More information about the SunHELP
mailing list