Re: root access for unix processes?
Re: root access for unix processes?
- Subject: Re: root access for unix processes?
- From: Joe Muscara <email@hidden>
- Date: Mon, 28 May 2001 10:54:20 -0500
Hi Mike,
You can find an example of using the Security.framework over at
Stepwise. It was written by Brian Hill, who I've seen on this list.
http://www.stepwise.com/Articles/Technical/2001-03-26.01.html
Joe
On Monday, May 28, 2001, at 02:04 AM, email@hidden
wrote:
From: email@hidden
Date: Sun, 27 May 2001 18:28:28 -0700
To: email@hidden
Subject: root access for unix processes?
I'm trying to run `/usr/libexec/locate.updatedb` from my cocoa app which
needs to be run as root for it to be useful. I know its possible to
throw up a dialog saying "whats your password, you need root access",
and then run as a process owned by root. Anyone have any insight on how
to do that? :-) I'm pretty confident that I've seen it done before, I
just cant find the example.