Will the bash fix for Lion work on Snow Leopard?
Will the bash fix for Lion that fixes a security flaw in the bash UNIX shell, work on Snow Leopard?
Mac mini (Early 2006)
Will the bash fix for Lion that fixes a security flaw in the bash UNIX shell, work on Snow Leopard?
Mac mini (Early 2006)
During college, concurrent with submitting 80 column card decks for Fortran programs, I was using a PDP-8L with an ASR-33 TTY that used oiled punched paper tape at 10 characters/second. We had a 2nd PDP-8L with a 300 character/sec fan-fold paper tape reader, for days when we felt the need for speed 😁
College also had me taking analog computer classes with the patch panels used to connect analog circuits together to run a program. But I'm fairly sure all the computers I used were transistor and/or integrated circuit based. No vacuum tubes 😀
EricMarlow wrote:
I also found this blog post to be very helpful for fixing my OSX 10.6.8 Snow Leopard from the bash shellshock bug. Apparently this fix works with OSX 10.4 all the way to OSX 10.9 systems. Plus it's the only DIY instruction I found online that includes a test to see if you are vunerable and if the fix actually fixed anything. http://tenfourfox.blogspot.com/2014/09/bashing-bash-one-more-time-updated.html
Just applied this to my 10.6.8 laptop, and am heading off to install it on all of my machines from 10.4 to 10.9. I'm pretty sure that I can push it out using ARD. One interesting data point -- I powered down the machine and restarted it, and it hung. I booted into single-user mode and ran fsck and had a file count error, and then it booted fine. I wonder if changing out the bash executable underneath a running machine made the shutdown funky?
Philip -- can you mark Eric's post as the solution? That will make it more prominent in searches...
BobHarris wrote:
Yes, the Mac OS X Lion /bin/bash and /bin/sh "Appear" to work on Snow Leopard.
<OS X bash Update 1.0 - OS X Lion>
However, you will have to either install on Lion first, and then copy /bin/bash and /bin/sh to the Snow Leopard system, or extract the bash and sh from the installer package.
Pacifist by CharlesSoft (https://www.charlessoft.com) worked nicely to extract the executables.
It looks as if the TenFourFox "fix" is targeted for OS X versions 10.4 and 10.5.
$ /usr/bin/file bash-4.3.28-10.4u
bash-4.3.28-10.4u: Mach-O universal binary with 2 architectures
bash-4.3.28-10.4u (for architecture ppc): Mach-O executable ppc
bash-4.3.28-10.4u (for architecture i386): Mach-O executable i386I would use Apple's fixes for any system with 10.7 and above. Unless you want to maintain bash on those systems and not run the binary in 64 bit.
Mark Jalbert wrote:
I would use Apple's fixes for any system with 10.7 and above.
Sure, but the OP was asking about 10.6 and the TenFourFox "fix" will work for that.
Will the bash fix for Lion work on Snow Leopard?