Questions about SMJobBless
Questions about SMJobBless
- Subject: Questions about SMJobBless
- From: Eric Gorr <email@hidden>
- Date: Fri, 30 Sep 2011 10:41:53 -0400
I cannot seem to locate any documentation on this, so hopefully someone can confirm the behavior I am seeing with Apple's sample SMJobBless code located at:
http://developer.apple.com/library/mac/#samplecode/SMJobBless/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010071
I was under the impression that it would only ask for an admin password if it detected a that a new version of the helper tool needed to be installed. I got this impression from the statement in the ReadMe which says:
4. Requiring the user to authorize the privileged helper tool only once the first time it's used
However, this impression is apparently incorrect. What I believe this statement actually refers to is the need to just ask for the password once at application launch and have the authorization remain valid while the application is running. Is this correct?
The behavior I am seeing under 10.6 is that if I launch the app for the first time, it will ask for the password. If I launch almost immediately, it won't. However, if I wait a long enough time, it will ask for the password again. During all of this, the helper tool does not change.
Can anyone point to documentation that defines this as the correct behavior?
I am also wondering how it might be possible to only ask for an admin password once as an absolute regardless of the number of time the application was launched. Is this possible? If so, how?
Thank you.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden