• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Allow only root/admin users to execute the cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allow only root/admin users to execute the cocoa app


  • Subject: Re: Allow only root/admin users to execute the cocoa app
  • From: vincent habchi <email@hidden>
  • Date: Mon, 25 Jan 2010 07:47:05 +0100

Le 24 janv. 2010 à 22:31, Todd Heberlein a écrit :

>> I want to allow my cocoa app to be only launched by root/admin users.
>> How can i achieve this?
>
> As I think has already been mentioned, the UNIX approach is to set the application's owner as root and then make it only executable by the owner. However, Apple largely discourages programmers from developing Cocoa apps that will be run with root privileges.

I know that, but, up to this point, I have failed to find any reasonable reason ;) that could justify this point of view, especially since it is always possible to drop root privileges at whatever point, just like postfix or named do. I don't see why being root is permissible for CLI apps and not for GUI ones.

Cheers
Vincent_______________________________________________

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

  • Follow-Ups:
    • Re: Allow only root/admin users to execute the cocoa app
      • From: Jean-Daniel Dupas <email@hidden>
    • Re: Allow only root/admin users to execute the cocoa app
      • From: Gwynne Raskind <email@hidden>
References: 
 >Allow only root/admin users to execute the cocoa app (From: Arun <email@hidden>)
 >Re: Allow only root/admin users to execute the cocoa app (From: Todd Heberlein <email@hidden>)

  • Prev by Date: Re: How to hook into the Apple clock timer API?
  • Next by Date: Re: Allow only root/admin users to execute the cocoa app
  • Previous by thread: Re: Allow only root/admin users to execute the cocoa app
  • Next by thread: Re: Allow only root/admin users to execute the cocoa app
  • Index(es):
    • Date
    • Thread