Re: Privilege elevation of a cocoa app
Re: Privilege elevation of a cocoa app
- Subject: Re: Privilege elevation of a cocoa app
- From: Erg Consultant <email@hidden>
- Date: Thu, 21 May 2009 14:53:12 -0700 (PDT)
Never run an 'app' as privileged. You need a helper tool to do that. You have a lot of reading ahead of you to understand how to do this.
Erg
________________________________
From: Jerry Krinock <email@hidden>
To: "email@hidden Developers" <email@hidden>
Sent: Thursday, May 21, 2009 4:25:15 AM
Subject: Re: Privilege elevation of a cocoa app
On 2009 May 21, at 02:49, Arun wrote:
> I have an application which when launched asks for user to authenticate for
> admin rights.
Eyebrows are raised.
> After user authenticates the app is launched. I thought after authentication
> the Application executes with admin privilages. But is is still executing in
> user privilages only.
> Is there any way in which i can elevate the privilege of the binary after
> authentication.
You need to re-post this question to a different list where it will be on-topic:
http://lists.apple.com/mailman/listinfo/apple-cdsa
Also, from what I've read so far, prepare to be told that you're doing things wrong and that your application is a threat to national security.
_______________________________________________
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