• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Running process as root from Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running process as root from Cocoa


  • Subject: Re: Running process as root from Cocoa
  • From: "Mitchell Hashimoto" <email@hidden>
  • Date: Mon, 28 Jan 2008 23:20:26 -0700

Really? I am basing a lot of my code off of this program called "The Cheat" at:
http://brokenzipper.com/software/

When I run that app as root it all works fine... and all its logic is
right into the GUI app.

What do you mean I can't access the window server?

Mitch

On Jan 28, 2008 11:17 PM, Kyle Sluder <email@hidden> wrote:
> On Jan 29, 2008 1:03 AM, Mitchell Hashimoto <email@hidden> wrote:
> > But I actually want to launch the same
> > program with root access, is there a special way to do this? As far as
> > I know I can't launch two instances of my same program so how would I
> > go about doing this?
>
> You're going to run into one fundamental problem very quickly: apps
> running as root cannot access the window server on 10.5.  You're going
> to have to factor out the payload logic into a separate non-GUI tool
> and use some sort of IPC technique to communicate between the two
> modules.
>
> Sorry that this just got a lot more complicated.
>
> --Kyle Sluder
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Running process as root from Cocoa
      • From: "Kyle Sluder" <email@hidden>
References: 
 >Running process as root from Cocoa (From: "Mitchell Hashimoto" <email@hidden>)
 >Re: Running process as root from Cocoa (From: Nir Soffer <email@hidden>)
 >Re: Running process as root from Cocoa (From: Bill Bumgarner <email@hidden>)
 >Re: Running process as root from Cocoa (From: "Mitchell Hashimoto" <email@hidden>)
 >Re: Running process as root from Cocoa (From: "Kyle Sluder" <email@hidden>)
 >Re: Running process as root from Cocoa (From: "Mitchell Hashimoto" <email@hidden>)
 >Re: Running process as root from Cocoa (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: Running process as root from Cocoa
  • Next by Date: Re: Running process as root from Cocoa
  • Previous by thread: Re: Running process as root from Cocoa
  • Next by thread: Re: Running process as root from Cocoa
  • Index(es):
    • Date
    • Thread