Re: Running process as root from Cocoa
Re: Running process as root from Cocoa
- Subject: Re: Running process as root from Cocoa
- From: "Hamish Allan" <email@hidden>
- Date: Mon, 28 Jan 2008 17:21:56 +0000
See question 3.6.3 of the cocoa-dev FAQ.
Hamish
On Jan 28, 2008 5:17 PM, Mitchell Hashimoto <email@hidden> wrote:
> Hi,
>
> I am trying to run some code with root priveleges, specifically to use
> task_for_pid to modify (read/write) another process's memory. The
> reasoning behind this is that this application is a game trainer. I am
> able to get it to work by launching the program with "sudo" but this
> is a pain. is there any way to run the program and have an
> "authorization" box pop up and ahve the user authorize the actions?
>
> Thanks
> Mitchell
> _______________________________________________
>
> 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
>
_______________________________________________
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