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?