• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFPreferencesSetValue in pref pane not working if logged in as non-admin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFPreferencesSetValue in pref pane not working if logged in as non-admin


  • Subject: Re: CFPreferencesSetValue in pref pane not working if logged in as non-admin
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 13 Nov 2001 19:47:02 +0000

On Tuesday, November 13, 2001, at 02:21 pm, Kevin Bohan wrote:

CFPreferencesSetValue(str, tempNum, MY_PREF_FILE_NAME, kCFPreferencesAnyUser, kCFPreferencesCurrentHost);

However I have noticed that if I log in as a non admin user this function appears to fail, as does the get function.

The get function works fine. You need to have administrative rights to set the preferences, so you'll need to launch a setuid tool to do the work if you want to "gain" administrative rights like this, and use some form of IPC.

-- Finlay


References: 
 >CFPreferencesSetValue in pref pane not working if logged in as non-admin (From: "Kevin Bohan" <email@hidden>)

  • Prev by Date: Re: Still about bad documentation
  • Next by Date: Re: Bugs with Obj-C++ compiler
  • Previous by thread: CFPreferencesSetValue in pref pane not working if logged in as non-admin
  • Next by thread: Re: CFPreferencesSetValue in pref pane not working if logged in as non-admin
  • Index(es):
    • Date
    • Thread