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 <je...@ieee.org>
To: "cocoa-dev@lists.apple.com Developers" <cocoa-dev@lists.apple.com>
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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/erg_consultant%40yahoo.com

This email sent to erg_consult...@yahoo.com



      
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to