Hi Jens, Thank you so much for the reply. But Is there any way to change other user defaults as root user??
Thanks and Regards, Madhavi G. On Mon, Dec 23, 2013 at 4:39 AM, Jens Alfke <j...@mooseyard.com> wrote: > > On Dec 11, 2013, at 4:45 AM, Madhavi Gundeti <madhavi.gundet...@gmail.com> > wrote: > > Please let me know what I am missing here. Why I am not able to change > these settings as root user. > > > Because every user has their own defaults. If you use NSUserDefaults in a > process whose userid is root, you’re changing the defaults of the ‘root' > account, not a real user. > > —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