sudo reboot or
sudo halt works when executed from terminal. But, Apple Logo -> Shutdown/Restart/Log Out User doesn't work. Strangely, Apple Logo -> Sleep works.
I've executed bunch of defaults write and setting changes in the Terminal recently, and I'm not sure which one triggered this problem. Unfortunately, I didn't take any snapshots or backed up original state.
Which files should I look into regarding the enable/disable of reboot/shutdown/logout from menubar?
How do I fix this, or where do I start looking?