On Thu, Aug 20, 2009 at 8:07 PM, Andreas Höschler<[email protected]> wrote:
> I got around the usual problem by doing
>        mv /bin/sh /bin/sh.old
>        ln -s /usr/bin/zsh /bin/sh

Not a good idea.
While Solaris 10 did away with statically linked shells and cron
generally uses /usr/bin/bash nowadays, there are still a ton of
scripts scattered around the system that depend on /bin/sh being a
Bourne shell, not zsh, csh or even bash.
Plus, a dynamically linked root shell will render your system unusable
if and when /usr/lib becomes corrupted.

The mentioned problem is that someone probably simply assumed /bin/sh
to be a renamed bash... Meaning, the script should be fixed, not the
system it is running on be messed with, since that might actually
break the system.

-- 
Chris

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à