• 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: Running an App as Root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running an App as Root


  • Subject: Re: Running an App as Root
  • From: David Blanton <email@hidden>
  • Date: Wed, 05 Nov 2003 07:01:19 -0700

On 11/4/03 10:30 PM, "Kyle Moffett" <email@hidden> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Nov 04, 2003, at 21:35, David Blanton wrote:
>> What we need to do is 'silently' do some root stuff, i.e. Not present
>> the
>> Authentication Panel to accomplish our goals.
>
> If you are talking about running a daemon, see the information about
> StartupItems available on Apple's website, in which case your installer
> application asks for authorization. On the other hand, if you are
> talking about an ordinary GUI app, it must ask for the authorization on
> its own (As per the other 3 replies in this thread). You don't EVER do
> anything as root without asking the user first.
>
> Cheers,
> Kyle Moffett
>
Ok, before I start digging ... We have a StartupItem which requires
authorization to be installed. So the suggestion here is to use that to do
the 'root stuff' we require. Do I understand correctly? If that is the
case then my question is what is the best inter process communication to use
between the GUI App and Daemon?

Regards,

David Blanton
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Running an App as Root
      • From: Finlay Dobbie <email@hidden>
    • Re: Running an App as Root
      • From: Creed Erickson <email@hidden>
References: 
 >Re: Running an App as Root (From: Kyle Moffett <email@hidden>)

  • Prev by Date: Re: Super Newbie
  • Next by Date: Re: Security Framework: Authori(s/z)ion Rights
  • Previous by thread: Re: Running an App as Root
  • Next by thread: Re: Running an App as Root
  • Index(es):
    • Date
    • Thread