Re: Helper tool, root and MoreAuthSample?
Re: Helper tool, root and MoreAuthSample?
- Subject: Re: Helper tool, root and MoreAuthSample?
- From: Fredrik Olsson <email@hidden>
- Date: Wed, 12 Jul 2006 16:27:03 +0200
Finlay Dobbie skrev:
On 12/07/06, Fredrik Olsson <email@hidden> wrote:
I find this code hard to read. Maybe outdated (project builder
project?), and I am not able to build it with XCode 2.3.
Upgrade the projects to native, and uncheck "treat warnings as errors"
in the target settings. I have filed a bug against it to get it
updated (<rdar://problem/4625036>).
Is there another sample project out there, for having a helper tool
running as root?
It's still the best. Have you read the relevant documentation
(Performing Privileged Operations with Authorization Services)? Do you
have any specific questions?
Not really. Lazy as I am I had more or less expected
NSSetOwnedByRootAndSUID() :).
Is there any good reason why I should not do as it is done in TunnelBlick 3?
There chown and chmod are run with AuthorizationExecuteWithPrivileges to
fix the helper tool from the main UI app.
// Fredrik Olsson
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden