On 7 May 2020, at 12:45, Ken Cunningham wrote:
I replace the system bash on older systems with the MP version, esp on
Tiger.
There was a nice trick presented on the mailing list a year or two ago
by someone to use static libs to make it less fragile, so I use that:
<https://github.com/kencu/myports/tree/master/shells/bash>
That looks like my ugly hack. I came up with it shortly after the
disclosure of the "ShellShock" vulnerability.
The reason to do this when replacing a login shell or (most importantly)
the system shell at /bin/sh is that you do not want either of those to
be breakable by modification of a shared library installed by MacPorts.
The primary reason that one should replace /bin/{bash,sh} with a newer
version on older versions of MacOS X is ShellShock.
--
Bill Cole
[email protected] or [email protected]
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not For Hire (currently)