I'm trying to access the root user's default database from a
PreferencePane. I tried using AuthorizationExecuteWithPrivileges
with the system.privilege.admin right and just executing the /usr/
bin/defaults binary, but for some reason I wasn't accessing the
same defaults that I would see if I ran defaults as root. What is
the best way to do this? What is the right that I need to request
in order to access root's defaults database?
This may not be the best place for your questions...PreferencePanes
are a Cocoa technology so the right people may be on the cocoa-dev
list instead.
The team that maintains AuthorizationExecuteWithPrivileges hangs out
on the apple-cdsa list.
Good luck,
--gc
__________________________________________________________________
Garth Cummings
Apple Developer Technical Support email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden
This email sent to email@hidden