#5 `launchctl asuser` does not what was assumed in macOS postinst

Closed
opened 11 months ago by claudio · 1 comments
Owner

From the launchctl(1) manual:

asuser UID command [args]

This executes the given command in as similar an execution context as possible to that of the target user's bootstrap. Adopted attributes include the Mach bootstrap namespace, exception server and security audit session. It does not modify the process' credentials (UID, GID, etc.) or adopt any user-specific environment variables. It affects only the Mach boot-
strap context and directly- related attributes.

This might be the reason for https://gitea.pep.foundation/pEp.foundation/pEp4Thunderbird_PublicBugTracking/issues/2#issue-24

From the launchctl(1) manual: > **asuser UID command [args]** > > This executes the given command in as similar an execution context as possible to that of the target user's bootstrap. Adopted attributes include the Mach bootstrap namespace, exception server and security audit session. **It does not modify the process' credentials (UID, GID, etc.)** or adopt any user-specific environment variables. It affects only the Mach boot- strap context and directly- related attributes. This might be the reason for https://gitea.pep.foundation/pEp.foundation/pEp4Thunderbird_PublicBugTracking/issues/2#issue-24
Poster
Owner

Migrated to MACOSINST-12

Migrated to [MACOSINST-12](https://pep.foundation/jira/browse/MACOSINST-12)
claudio closed this issue 10 months ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.