Let me say: running Cocoa peograms as root is a *very* bad idea. There
are many ways to get code loaded into applications, and if said
program is running as root, that code will be running as root as well.
Show me a GUI application running as root, and I'll shoe you a
trivially compromised system.
A much better idea would be to factor the code that needs to run with
root privelages into a seperate tool, and to use Authorization
Services to launch that tool as needed.
Sent from my iPhone
On Jan 24, 2010, at 1:19, Arun <arun...@gmail.com> wrote:
Hi All,
I want to allow my cocoa app to be only launched by root/admin users.
How can i achieve this?
Thanks
Arun
_______________________________________________
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/clarkcox3%40gmail.com
This email sent to clarkc...@gmail.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