I naively ran a few commands with sudo while trying to get docker working on my machine. Now upon trying sudo, I get this error:
dorsatum is not in the sudoers file. This incident will be reported.
Output of id is : gid=1000(dorsatum) groups=1000(dorsatum),999(docker)
Output of groups is : dorsatum docker
I've tried editing it via grub, it did not work. A number of questions were solved by dropping to the root shell in the recovery mode shell. I'm asked for the maintainance password, which does not accept my regular password, leaving ctrl+d to be the only viable option.
sudo passwd
? – muru Jan 06 '15 at 20:22/etc/group
and add yourself back to thesudo
group. – muru Jan 06 '15 at 20:44