Ubuntu: borked my sudoers file, how can I fix it?
Solution 1:
Boot the system into single mode and then edit it.
Solution 2:
You should never edit your sudoers file directly. Use visudo
- it will protect you from these syntax errors in the future.
To recover from this situation, either boot into single-user mode and edit the file or boot off of a livecd and do the same.