Access to sudo but not security and privacy or users and groups
Try running the below command in terminal. It will add your user to the admin group which should have access to all of system preferences. You might have to restart to make the changes take affect. Be sure and replace yourUserName with the username you want to have admin rights.

sudo dscl . append /Groups/admin GroupMembership yourUserName