Skip navigation.
 
mlRe: Using Security framework to get root auth for running app.
FROM : lazee
DATE : Wed Dec 15 23:32:20 2004

>
> On Dec 15, 2004, at 13:03, <email_removed> 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
>


well Actually since its removing a file I'd probably just authorize rm
and use that, which is where my concern about having to reauth alot came
from.
Thank you.