I have no
root password and I accidentally removed the
sudo privileges of the only account left.
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
NOTE: This procedure assumes that you have removed yourself from the
Boot a live CD. Mount your root partition containing /etc. Modify the mounted /etc/group file to have your user back in the sudo group. Umount and reboot.