Re: NSTask with Root Privs
Re: NSTask with Root Privs
- Subject: Re: NSTask with Root Privs
- From: Stefan Arentz <email@hidden>
- Date: Sat, 26 May 2001 22:17:00 +0200
On Sat, May 26, 2001 at 08:35:32PM +0100, Finlay Dobbie wrote:
>
I've seen the Security Framework, but to be quite honest with you it's
>
lame. It involves lots of evil C calls... Why can't I just have a nice
>
little easy way of gaining root privs for NSTasks? I'm sure there was an
>
easier way in the Public Beta using NIInterface.framework, but that's
>
now private.
>
>
Any ideas?
Yes. Spend an hour to study the code from the article at stepwise [1] and
then another hour to wrap it all up in a nice objective c object?
[1]
http://www.stepwise.com/Articles/Technical/2001-03-26.01.html
Can't expect from Apple to do *everything* :-)
Stefan