Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Going crazy over administrator privileges in Xcode 2.0



Hello fellow AppleScripters,

I am having lots of trouble with the new authentication system in Xcode 2.0. Firstly, I thank Apple for adding the ability to use ANY admin name and password combo. This has opened a lot of doors. Unfortunately, it seems to have created a whole new batch of problems. My main issue is that once my application is authenticated, there doesn't appear to be a way to turn that authentication off. Previous versions allowed the use of do shell script "sudo -K" to remove admin authentication for the current user. I need to know how to remove authentication for a given user once it has been granted.

Another issue I am finding is that the "with administrator privileges" option must be used for any "do shell script" command that requires authentication. While this will not ask for additional authentication information, I am finding that my scripts are slowing down to an eventual halt by using this method, especially during repeat loops.

Can anyone shed any light on the best way to utilize the new authentication system in Xcode 2.0?

Regards,
John Goodchild

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.