Re: Running an App as Root
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.