how use bash 5.0 port

Bill Cole macportsusers-20171215 at
Wed Sep 2 02:14:46 UTC 2020

On 1 Sep 2020, at 21:36, Ken Cunningham wrote:

> The thing to do with bash is link it statically — then it can never 
> break.
> I do this on all older systems, and then copy it into /bin/bash

If you're doing this to fix the actual serious vulnerabilities in older 
bash (e.g. shellshock) you should also replace /bin/sh, which is the 
POSIX-required system shell that is used explicitly in some 
circumstances (e.g. boot time.) This is especially important if you're 
crazy enough to expose such an antique machine to the net.

> see <> if you 
> need inspiration.

I've seen that egregious hack somewhere before...

Bill Cole
bill at or billcole at
(AKA @grumpybozo and many * addresses)
Not For Hire (currently)

More information about the macports-users mailing list