[Sunhelp] root login problem

Reagen Ward ward at zilla.nu
Fri Aug 11 21:03:41 CDT 2000


On Sat, Aug 12, 2000 at 12:26:17AM +0200, Marc Sebastian Pelzer wrote:

> /sbin/sh is the default shell for root, because /bin is only a symlink
> to /usr/bin which may be on another partition that is not available
> when root boot the system in single user mode. /sbin is always there.
> A bash is not a good idea, because it is mostly dynamicly linked.
> /sbin/sh is static linked and has no problems with librarys when /usr
> is not available.

A statically linked shell is also important if you lose /dev/zero or something
else of that sort, as the dld subsystem breaks.  I've taken to installing a full
suite of statically linked tools in /bin, and I'm collecting sh/ksh versions of
common commands.

Reagen





More information about the SunHELP mailing list