• 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: "Clark S. Cox III" <email@hidden>
  • Date: Sun, 24 Jan 2010 08:21:15 -0800

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 <email@hidden> 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 (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


References: 
 >Allow only root/admin users to execute the cocoa app (From: Arun <email@hidden>)

  • Prev by Date: Re: Allow only root/admin users to execute the cocoa app
  • Next by Date: UIButton's Sender Control Events
  • 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