site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcmxekK01xjCsCdFj0m6QE5UvzLmeQAAhHhu Thread-topic: Launchctl question User-agent: Microsoft-Entourage/12.15.0.081119
http://developer.apple.com/DOCUMENTATION/DARWIN/Reference/ManPages/man1/launc>> h
ctl.1.html
Thanks, I've tried a few permutations of bsexec and it isn't really doing what I want. The process winds up running as root, and seems to have access to my logged in user's GUI.
Am I doing something wrong?
Is the use of LAUNCHD_SOCKET supported? Doing something like this yields the result I'm after: sudo -u user bash -c 'LAUNCHD_SOCKET=my_sock launchctl load myproduct.plist' *********************************************************************** This e-mail and its attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s). Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint. Le contenu de ce courriel est confidentiel, privilégié et peut être soumis à des droits d'auteur. Il est envoyé à l'intention exclusive de son ou de ses destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprimées dans le présent courriel peuvent diverger de celles de Radialpoint. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Tim Murison