> It used to be that root's shell had to be /bin/sh so
> that,
> if your /usr partition got corrupted and you had to
> boot
> without it being mounted, you could still log in
> single
> user and fix things (/usr/bin/bash wouldn't be there
> in
> that case, and root logins would fail with a "no
> shell"
> error message - quite a bummer when you ran into
> it...)

Another side-effect on earlier Solaris revisions is that quite a number of 
startup scripts assumed they were running in /sbin/sh, so if one changed the 
root's shell, there would be "breakage" all over the place, and the system 
wouldn't boot properly.

Ever since then, I can't bring myself to change the root's shell, lest some 
start/stop method assume it's still running in /sbin/sh.

Theoretically, nothing will break. But it's just safer not to mess with it.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to