Re: access root's default database
Re: access root's default database
- Subject: Re: access root's default database
- From: Garth Cummings <email@hidden>
- Date: Mon, 23 May 2005 09:27:51 -0700
Hi Braden,
On May 20, 2005, at 8:54 PM, Braden Thomas wrote:
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
http://developer.apple.com/technicalsupport
Spotlight on Innovation
Worldwide Developers Conference 2005
June 6-10 in San Francisco
http://developer.apple.com/wwdc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden