I am developing a daemon which runs as root, so I wanted to change the user defaults from the daemon. Now I got it, It is not possible with NSUserdefaults.
So I found another way to do that. I created another application which is called by this daemon and the application will do the job what exactly I want. Thank you so much for your reply again :) Thanks and Regards, Madhavi G. On Tue, Dec 24, 2013 at 11:35 AM, Jens Alfke <j...@mooseyard.com> wrote: > > On Dec 23, 2013, at 9:32 PM, Madhavi Gundeti <madhavi.gundet...@gmail.com> > wrote: > > But Is there any way to change other user defaults as root user?? > > > I don’t know. Look at CFPreferences; it has more options than > NSUserDefaults. > Is there a reason you have to do this as root, rather than the user whose > prefs are being altered? > > —Jens > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com