• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using Security framework to get root auth for running app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using Security framework to get root auth for running app.
      • From: email@hidden
References: 
 >Using Security framework to get root auth for running app. (From: email@hidden)
 >Re: Using Security framework to get root auth for running app. (From: Nick Zitzmann <email@hidden>)
 >Re: Using Security framework to get root auth for running app. (From: email@hidden)
 >Re: Using Security framework to get root auth for running app. (From: Steven Palm <email@hidden>)
 >Re: Using Security framework to get root auth for running app. (From: email@hidden)

  • Prev by Date: Re: Using Security framework to get root auth for running app.
  • Next by Date: Re: NSSocketPort bug?
  • Previous by thread: Re: Using Security framework to get root auth for running app.
  • Next by thread: Re: Using Security framework to get root auth for running app.
  • Index(es):
    • Date
    • Thread