News for hackers. Stuff that matters.
Re:Use zsh as the default shell on your Mac by 1over137 on Monday June 03, 2019 @09:23PM (#20090853)
Did you notice how many qualifiers you had there? The trend on macOS is clear: harder and harder to run/do anything that isn't blessed by Apple.
Re:Use zsh as the default shell on your Mac by Wowfunhappy on Monday June 03, 2019 @09:30PM (#20090895)
SIP and Gatekeeper and one-time commands. I find disabling SIP to be much less painful than enabling unsigned drivers in Windows.

I wouldn't even classify turning off SIP as "slightly tricky". You boot into recovery mode, open the terminal, type in two words, and press enter.

Besides, this is separate from the GPLv3 question. You can absolutely recompile bash and replace macOS's version with your own, so I don't understand why this is a problem for Apple.

Re:Use zsh as the default shell on your Mac by lostmyoldone on Tuesday June 04, 2019 @07:28AM (#20093914)
It's not a problem, yet. But I would argue that it's quite clear from Apple's actions the last ~5 years that they really want to make Mac OS behave as iOS as much as possible, including making it impossible for regular users to run arbitrary non app store software.

I know it sounds crazy, but they have for years now been taking steps - like this - which nobody seems to find a rational cause for, but which step by step seem to remove obstacles of technically, legal, or user expectations in line with making OS X an app store only platform, and if possible completely replace OS X with iOS.

Re:Use zsh as the default shell on your Mac by plorkyeran on Tuesday June 04, 2019 @12:24PM (#20096519)
You can't think of a single rational cause for requiring code signing by default other than them wanting to lock down the system? It's a huge security gain for normal users, and helps application developers by encouraging normal users to trust third-party applications rather than being terrified they'll get malware if they install any non-apple software.

It's certainly possible that Apple has intentions other than to make the platform better and a discussion can be had on if the tradeoffs are worth it, but it's ridiculous to claim that there are zero benefits to anyone but Apple.

Re:Use zsh as the default shell on your Mac by Wowfunhappy on Tuesday June 04, 2019 @12:57PM (#20096884)
I can't think of a single (non-malicious) rational cause for requiring code signing by default and making the requirement impossible for the user to disable.

We're talking about what Apple could be planning that would violate the GPLv3. As long as the signing can be disabled by the user, there shouldn't be a GPLv3 violation.

Re:Use zsh as the default shell on your Mac by Someone on Wednesday June 05, 2019 @01:38PM (#20106993)
If there were a simple checkbox in the OS to disable SIP, I would expect zillions of ‘nice’ add-ons would ship with instructions on how to disable it.

I also expect zillions of helpful nieces/nephews would flip that checkbox for their uncles/aunts, and, accidentally or on purpose, leave it that way.

Even if that isn’t true, making it harder for malware to flip that flag already is a rational reason to implement it this way.

Re:Use zsh as the default shell on your Mac by Wowfunhappy on Friday June 07, 2019 @07:40PM (#20129567)
I have zero issues with how SIP is currently implemented. It's just hard enough to turn off to protect people, without being overly annoying.

I do worry very much about SIP becoming impossible to disable some day. Don't ban knives because people might cut themselves.

Re:Use zsh as the default shell on your Mac by musicale on Tuesday June 04, 2019 @09:37AM (#20094848)
The obvious "rational" security benefits to users are:

1) Gatekeeper makes it harder to run malware; unsigned executables don't run by default, and signed malware can have its developer keys revoked by Apple.

2) SIP makes it harder for malware to modify system files.

The obvious "rational" business benefit to Apple is that:

3) Gatekeeper makes it harder to sell Mac apps without Apple getting a 30% cut

Re:Use zsh as the default shell on your Mac by dcbadacd on Monday June 03, 2019 @09:56PM (#20091043)
The "You must release changes"-clause and anti-tivoization clause might be not be enough individually to switch to MIT zsh but probably were together good enough reasons for Apple to switch.
Re:Use zsh as the default shell on your Mac by Wowfunhappy on Monday June 03, 2019 @09:58PM (#20091054)
Why? How does this affect them on macOS at all?

If Bash were also being used on iOS that would be different, but I'm quite confident that will never happen.

Re:Use zsh as the default shell on your Mac by 1over137 on Monday June 03, 2019 @10:34PM (#20091259)
Again, perhaps it is because Apple is planning for a future where SIP and Gatekeeper cannot be turned off. A future where macOS is basically reduced/merged to iPadOS. Time will tell.
Re:Use zsh as the default shell on your Mac by musicale on Tuesday June 04, 2019 @09:40AM (#20094888)
I expect Macs in enterprise/education are locked down so that Gatekeeper and SIP can't be turned off by normal users.

But preventing ALL Macs from turning off Gatekeeper and SIP? I think that would be unpopular.

Re:Use zsh as the default shell on your Mac by Wowfunhappy on Tuesday June 04, 2019 @10:06AM (#20095134)
A company or school can already do this easily, by the way, by setting a boot-loader password and restricting admin access. Notably, this are normal macOS functions, you don't need a fancy mtm setup.
Re:Use zsh as the default shell on your Mac by dcbadacd on Tuesday June 04, 2019 @11:17AM (#20095811)
That would violate GPLv3, wouldn't it?
Re:Use zsh as the default shell on your Mac by Wowfunhappy on Tuesday June 04, 2019 @12:50PM (#20096817)
IANAL, but I really don't think so. On a company laptop, the company owns the laptop, and the company can lock it down as much or as little as they want.