I have a command-line application running completely as root (i.e. both uid
and euid are 0), from which I need to find a password in the keychain of
the currently logged-in user (in case of Fast User Switching, the currently
'active' user should be taken).
The function SecKeychainSetPreferenceDomain with a domain of
kSecPreferencesDomainUser seems to be what I'm looking for, but
unfortunately the application needs to run on 10.2 and this function is
only available in 10.3 and later.
Is there a way to accomplish this on Mac OS X 10.2?
Thanks!
Frederik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden