"You don't run a command 'on a Mac.' You run it through a door — and each door hands you a different set of keys."
One machine, many doors
It's natural to picture a Mac as one thing with one fixed set of powers: it can do what it can do. But the same machine is reached through several very different envelopes — an interactive login at the physical screen, an SSH session, a launchd daemon, a WebUI assistant, a delegated coding agent. Each is a door into the same box, and each door hands you a different keyring.
What changes between doors
The differences are exactly the ones that matter for real work: whether you can read the login Keychain; whether there's a live GUI session that can pop an approval dialog; whether you have non-interactive sudo; whether a human is present to approve something; whether the work will survive a reboot. An SSH session has no GUI session. A launchd daemon has no login Keychain. Only the interactive login can raise a graphical prompt. Same Mac, wildly different capabilities.
Why this bites, over and over
Here's the classic failure: a step works perfectly when you run it in Terminal, so you schedule it under launchd or fire it over SSH — and it fails. Not because the command is wrong, but because the new envelope can't reach a credential the command silently depended on. The command didn't change; the door did.
The right question
So can this machine do X? is the wrong question — it has no single answer. The right question is can this envelope, on this machine, do X?, because capabilities travel with the door you came through, not with the box behind it.