site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi Braden, On May 20, 2005, at 8:54 PM, Braden Thomas wrote: Good luck, --gc __________________________________________________________________ Garth Cummings Apple Developer Technical Support gcummings@apple.com http://developer.apple.com/technicalsupport Spotlight on Innovation Worldwide Developers Conference 2005 June 6-10 in San Francisco http://developer.apple.com/wwdc _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com 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. smime.p7s
participants (1)
-
Garth Cummings