MacOS – Unable to modify administrative settings after El Capitan upgrade

macos

After upgrading to El Capitan from Yosemite, my main administration account was removed. After recovering it by forcing the first time setup to run again, I am now unable to change system settings. For example, if I open up "Users and Groups" and click the lock to make changes, it prompts for my password. I enter my password (that has admin privileges) and it accepts it, but the lock status doesn't change. I've also upgraded XCode to v7, and it prompts for my password to accept the license agreement. If I enter it incorrectly, I get the shaky box, but if I enter it correctly, it accepts it, but the license agreement box doesn't go away.

I've attempted to resolve this by turning off SIP and by using the "resetpassword" utility on both the Root Admin and my user's account and neither option has worked.

I'm out of ideas here- hoping one of you can help. Thanks in advance.

Edit

So I ran dscacheutil and shows two entries for root user. Does that mean anything?

enter image description here

Best Answer

If you are using Centrify, then this thread led me to this Apple forums answer: let the system rebuild the authentication database:

sudo mv /var/db/auth.db /var/db/auth.db.old

and restart. This fixed all the related privilege escalation failures for me and I seem to recall a Centrify upgrade was supposed to be done before the Mavericks upgrade too.

It has not, however, re-enabled network user logon. The check-box to allow network user logon is missing from Users & Groups still.