Re: Using Security framework to get root auth for running app.
Re: Using Security framework to get root auth for running app.
- Subject: Re: Using Security framework to get root auth for running app.
- From: Milton Sagen <email@hidden>
- Date: Wed, 15 Dec 2004 12:34:23 -0800
On Dec 15, 2004, at 13:03, email@hidden wrote:
Explained this way it makes a little more sense. I guess Im just
concerned that I'll have to re authorize the commandline tool for each
file that needs removal which would be tedious. Anyway. Back to the
books
I suppose.
April.
You won't if done within a certain amount of time (I can't remember
what the default is). Its like sudo: the first time it asks for the
password but subsequent sudo's don't if run within the timeout
interval.
BTW: there is an example tool at
http://developer.apple.com/samplecode/AuthSample/AuthSample.html
BTW^2: the tool once run while have its sticky bit set which will
prevent copying the application containing the tool. Actually the app
will copy but the tool won't.
Milt
_______________________________________________
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