Re: Allow only root/admin users to execute the cocoa app (PS)
Re: Allow only root/admin users to execute the cocoa app (PS)
- Subject: Re: Allow only root/admin users to execute the cocoa app (PS)
- From: vincent habchi <email@hidden>
- Date: Sun, 24 Jan 2010 11:15:41 +0100
Le 24 janv. 2010 à 10:19, Arun a écrit :
> Hi All,
>
> I want to allow my cocoa app to be only launched by root/admin users.
> How can i achieve this?
Ah, I forgot. If you want also the admin users to launch your app, the owner should be root:admin and permissions should be 774 or you should test for getgid instead of getuid inside your app.
V._______________________________________________
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