I'm developing a private macOS application on an Apple-silicon Mac mini running macOS Golden Gate 27.2.
I'm evaluating a system LaunchDaemon running under a dedicated, non-administrator identity that cannot log in interactively. A separate desktop application would communicate with the daemon through authenticated local IPC.
Before implementing this architecture, I would like to establish the officially supported approach.
My main question:
What is the Apple-supported method for creating and maintaining a dedicated, non-administrator, non-interactive service identity for a system LaunchDaemon on macOS 27.2?
In particular:
Is there a documented procedure for creating, restricting, disabling, recovering and eventually removing this identity?
Are dscl, sysadminctl or another account-management mechanism supported for this purpose?
Can a LaunchDaemon run under this identity without an interactive user login, including when registered through SMAppService?
Are there any secure-token, FileVault, volume-ownership or keychain restrictions that would affect this design?
If a dedicated non-login service identity is not a supported architecture, what alternative does Apple recommend?
I'd particularly appreciate links to official Apple documentation or guidance from Apple engineers.
Thank you.
10
0
594