RE: kCFPreferencesAnyUser w/PreferencePane not working?
RE: kCFPreferencesAnyUser w/PreferencePane not working?
- Subject: RE: kCFPreferencesAnyUser w/PreferencePane not working?
- From: "Huyler, Christopher M" <email@hidden>
- Date: Thu, 24 Jun 2004 09:40:39 -0400
- Thread-topic: kCFPreferencesAnyUser w/PreferencePane not working?
>
If by having admin permissions, you just mean that the user is an
>
admin, that's not what I meant. Typically you'd do this through some
>
kind of setuid-root tool. Authorization services documentation
>
explains doing this.
Yes I do have a setuid-root tool. It is used to call the scripts that
do the actual changes to the product. I am essentially duplicating the
values in a preferences file because the product also requires root
access to read the information (long story, product is ported from
UNIX). By duplicating the settings, my Preference Pane can display the
values when it is opened. After the user authenticates, a series of
calls to the setuid-root tool obtains the real settings. Provided that
I can create a preferences file for 'all users', the only time the two
values will be out-of-sync is if the user makes command-line changes.
Anyway, I will try moving the set preferences code to the setuid-root
tool and see how that works. Thanks for your help.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.