Changed the user account name; unable to use sudo
This question has been answered here: Changing my administrator user&#39;s username has removed privileges

I had this issue as well and it worked for me.