Re: Create Process As User
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com -- Terry On Jun 12, 2008, at 10:23 AM, Garth Cummings wrote: Hi Luc, On Jun 12, 2008, at 2:18 AM, Luc Andre wrote: I have a daemon (user root) that want to start an application in the current logged user environement. Best regards, --gc ____________________________________________________________________ Garth Cummings gcummings@apple.com Sr. Software Engineer Apple Developer Technical Support <http://developer.apple.com/technicalsupport> _______________________________________________ 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/matt.w.burnett%40gmail.com _______________________________________________ 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/tlambert%40apple.com _______________________________________________ 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... KUNCExecute() is unsupported KPI as of Tiger. It exists solely for the use of old KEXTs and will likely be removed at some point in the future. On Jun 12, 2008, at 5:27 PM, Matt Burnett wrote: You could have you daemon contact your KEXT, and have the KEXT do KUNCExecute with kOpenAppAsConsoleUser. You probably don't actually want to do that, but without more details about what you're trying to accomplish I can't be sure. In any event, I highly recommend you read Technical Note TN2083 "Daemons and Agents": <http://developer.apple.com/technotes/tn2005/tn2083.html>. This email sent to matt.w.burnett@gmail.com This email sent to tlambert@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert