Re: Create Process As User
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=I2uPZ+ke4NmjIz4cJSJNwSrTFsRMjpCVtyTljVpL57Q=; b=aSeW3yfmmKTZyjEsPjIorGFQfnhJKtkoxZkop1jM2Bqpur2oGg3gk1X8YnWZ1Z2DNh 3I6b+nKifXtOOVTKfTcu7WzEB+J1/FtQE7471k9VlnnKaMu4iqj9XDU0Pydi7O246NNs C5mGnJgT1PyKjKgBpAlrXUCYqlDh/peWnzAXw= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=VsYkdLeHiJVkcHRUQjZjp+YvwiTV2o9PEPL2hwINomQL+nyatQ1LT1AlR/hveWcm97 XsZMCUE75zsj7iSYf2rOd5RBdHKMmE4AFzIvDKnNRdWHZovTsbig5DQm7TQz95exD10r 78mzZm/hqRYuN5lirLoRv6nBEVRC+jOEx9o3w= 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/site_archiver%40lists.appl... 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 site_archiver@lists.apple.com
participants (1)
-
Matt Burnett